From 8ad47e3cf8fca91089bb6025f84e55d80d2aee09 Mon Sep 17 00:00:00 2001 From: Feng Yu Date: Sat, 27 Jul 2024 13:42:49 +0800 Subject: [PATCH] ci: update softprops/action-gh-release@v2 --- .github/workflows/build_and_release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_release.yml b/.github/workflows/build_and_release.yml index b212895..1d8290a 100644 --- a/.github/workflows/build_and_release.yml +++ b/.github/workflows/build_and_release.yml @@ -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 @@ -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