Skip to content

Commit

Permalink
ci: update softprops/action-gh-release@v2
Browse files Browse the repository at this point in the history
  • Loading branch information
abcfy2 committed Jul 27, 2024
1 parent 59dd8fe commit 8ad47e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
zip -j9v "/tmp/${ARCHIVE_NAME}" "${GITHUB_WORKSPACE}"/aria2c*
- name: Prerelease assets
if: github.event_name == 'push' || github.event_name == 'schedule'
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: /tmp/${{ env.ARCHIVE_NAME }}
prerelease: true
Expand All @@ -105,7 +105,7 @@ jobs:
append_body: true
- name: Upload Github Assets
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: /tmp/${{ env.ARCHIVE_NAME }}
name: aria2 ${{ env.ARIA2_VER }} static release
Expand Down

0 comments on commit 8ad47e3

Please sign in to comment.