diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index acb3e7c..386a40c 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -44,7 +44,7 @@ jobs: retention-days: 14 - name: '上传镜像包到 Release' if: github.event_name == 'release' || startsWith(github.ref, 'refs/tags/v') - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: tag_name: ${{ github.event.release.tag_name || github.ref_name }} files: 'rtsp2other-image.tar.gz' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index af8a548..af9688b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,7 +72,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/*'