Skip to content

Commit

Permalink
Switch from github's own unmaintained release actions to softprops
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesh committed Apr 3, 2023
1 parent 19e2c52 commit 3c65633
Showing 1 changed file with 4 additions and 24 deletions.
28 changes: 4 additions & 24 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,29 +57,9 @@ jobs:
- name: Create GitHub release
id: release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ env.RELEASE_VERSION }}
release_name: ${{ env.RELEASE_VERSION }}
files: |
${{ env.RELEASE_NAME }}.fb2k-component
${{ env.RELEASE_NAME }}-with_debug_symbols.zip
- name: Upload component archive
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.release.outputs.upload_url }}
asset_path: ${{ env.RELEASE_NAME }}.fb2k-component
asset_name: ${{ env.RELEASE_NAME }}.fb2k-component
asset_content_type: application/octet-stream

- name: Upload debug symbols
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.release.outputs.upload_url }}
asset_path: ${{ env.RELEASE_NAME }}-with_debug_symbols.zip
asset_name: ${{ env.RELEASE_NAME }}-with_debug_symbols.zip
asset_content_type: application/octet-stream

0 comments on commit 3c65633

Please sign in to comment.