diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2163f9c..81c3ba8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -76,7 +76,7 @@ jobs: | sort -z | xargs -0 -r sha1sum > checksums-sha1.txt - name: '上传到 Release' if: github.event_name != 'workflow_dispatch' || github.event.inputs.tag != '' - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: tag_name: ${{ github.event.inputs.tag || github.event.release.tag_name || github.ref_name }} files: 'release/*'