diff options
author | Jeff Scheel <jeff@riscv.org> | 2022-11-29 15:54:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-29 15:54:12 -0500 |
commit | b64db2dca4eeda6a92cca1ac7d78d8c6420e706e (patch) | |
tree | 8e2816a832b5dba3dac7cf3f335383e3f87f45b6 /.github/workflows | |
parent | 345e9ec696c5d053fa1734af7ed240895bbc1aa5 (diff) | |
download | riscv-isa-manual-b64db2dca4eeda6a92cca1ac7d78d8c6420e706e.zip riscv-isa-manual-b64db2dca4eeda6a92cca1ac7d78d8c6420e706e.tar.gz riscv-isa-manual-b64db2dca4eeda6a92cca1ac7d78d8c6420e706e.tar.bz2 |
Handle Node16 deprecation
Based on docs-spec-template WF updates
Signed-off-by: Jeff Scheel <jeff@riscv.org>
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/create-release.yml | 26 |
1 files changed, 7 insertions, 19 deletions
diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 1f18485..014c0e5 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -29,27 +29,15 @@ jobs: runs-on: ubuntu-latest needs: build steps: - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: v${{ github.event.inputs.version }} - release_name: Release ${{ github.event.inputs.version }} - draft: ${{ github.event.inputs.draft }} - prerelease: ${{ github.event.inputs.prerelease }} - name: Download Artifacts uses: actions/download-artifact@v3 with: name: ${{ needs.build.outputs.pdf-name }} - - name: Upload Release Asset - id: upload-release-asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Create Release + uses: softprops/action-gh-release@v1 with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ${{ needs.build.outputs.pdf-name }} - asset_name: ${{ needs.build.outputs.name }}_${{ github.event.inputs.version }}.pdf - asset_content_type: application/pdf + files: ${{ needs.build.outputs.pdf-name }} + tag_name: v${{ github.event.inputs.version }} + name: Release ${{ github.event.inputs.version }} + draft: ${{ github.event.inputs.draft }} + prerelease: ${{ github.event.inputs.prerelease }} |