diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e996663..f4c2a1f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,17 +3,17 @@ on: push: branches: - main - workflow_run: - workflows: [Java CI] - types: [completed] +# workflow_run: +# workflows: [Java CI] +# types: [completed] permissions: contents: write jobs: - on-success: + release: runs-on: ubuntu-latest - if: ${{ github.event.workflow_run.conclusion == 'success' }} + needs: build steps: - uses: actions/checkout@v4.1.1 @@ -61,10 +61,4 @@ jobs: tag: ${{ steps.changelog.outputs.tag }} name: ${{ steps.changelog.outputs.tag }} body: ${{ steps.changelog.outputs.clean_changelog }} - artifacts: "target/${{ steps.project.outputs.artifact }}-${{ steps.changelog.outputs.version }}.jar" - - on-failure: - runs-on: ubuntu-latest - if: ${{ github.event.workflow_run.conclusion == 'failure' }} - steps: - - run: echo 'The triggering workflow failed' \ No newline at end of file + artifacts: "target/${{ steps.project.outputs.artifact }}-${{ steps.changelog.outputs.version }}.jar" \ No newline at end of file