diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index e0ded6c..5b584e7 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -80,7 +80,7 @@ jobs: - name: '上传镜像包到 Release' if: github.event_name == 'release' || startsWith(github.ref, 'refs/tags/') - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: tag_name: ${{ github.event.release.tag_name || github.ref_name }} files: '${{ env.BIN_NAME }}-image-${{ matrix.arch }}.tar.gz' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e72ed17..cf174cb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -207,7 +207,7 @@ jobs: cat SHA256SUMS.txt checksums-md5.txt checksums-sha1.txt - name: '上传到 Release' - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: tag_name: ${{ needs.meta.outputs.tag }} name: ${{ needs.meta.outputs.tag }}