diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae12d1e..32bcc4e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,39 +6,9 @@ on: - '**' jobs: - create_pre_release: - name: Create pre-release - - runs-on: ubuntu-latest - - steps: - # The pre-release must be created only once, hence the split - # into multiple jobs with different `strategy`. - - name: Create a Github pre-release - id: create_pre_release - uses: elgohr/Github-Release-Action@v5 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} - draft: false - prerelease: true - - - name: Output `release_url` into a temporary file - run: echo "${{ steps.create_pre_release.outputs.upload_url }}" > release_url.txt - - - name: Save the `release_url` temporary file - uses: actions/upload-artifact@v1 - with: - name: release_url - path: release_url.txt - publish_jar: name: Publish the JARs - needs: [create_pre_release] - strategy: matrix: # The job runs on 3 different OS.