diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index cc64150..e2c221b 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -37,7 +37,7 @@ jobs: sha1sum model-runntime-image.tar.gz > checksums-sha1.txt - 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: |