diff --git a/.github/workflows/build-on-Linux-AArch64.yml b/.github/workflows/build-on-Linux-AArch64.yml index a7ab7763..dfd56cca 100644 --- a/.github/workflows/build-on-Linux-AArch64.yml +++ b/.github/workflows/build-on-Linux-AArch64.yml @@ -40,7 +40,7 @@ jobs: cp ./chsrc-aarch64-linux /artifacts - name: 上传至 'pre' release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: tag_name: pre files: | diff --git a/.github/workflows/build-on-Linux-ARMv7.yml b/.github/workflows/build-on-Linux-ARMv7.yml index 6e757f01..713f1ed3 100644 --- a/.github/workflows/build-on-Linux-ARMv7.yml +++ b/.github/workflows/build-on-Linux-ARMv7.yml @@ -40,7 +40,7 @@ jobs: cp ./chsrc-armv7-linux /artifacts - name: 上传至 'pre' release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: tag_name: pre files: | diff --git a/.github/workflows/build-on-Linux-riscv64.yml b/.github/workflows/build-on-Linux-riscv64.yml index f3d435e2..5dfac53a 100644 --- a/.github/workflows/build-on-Linux-riscv64.yml +++ b/.github/workflows/build-on-Linux-riscv64.yml @@ -40,7 +40,7 @@ jobs: cp ./chsrc-riscv64-linux /artifacts - name: 上传至 'pre' release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: tag_name: pre files: | diff --git a/.github/workflows/build-on-Linux-x64.yml b/.github/workflows/build-on-Linux-x64.yml index 25806682..70b93bde 100644 --- a/.github/workflows/build-on-Linux-x64.yml +++ b/.github/workflows/build-on-Linux-x64.yml @@ -31,7 +31,7 @@ jobs: run: ls *-linux - name: 上传至 'pre' release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 # if: startsWith(github.ref, 'refs/tags/') with: tag_name: pre diff --git a/.github/workflows/build-on-Windows.yml b/.github/workflows/build-on-Windows.yml index 182f4e62..04f5012f 100644 --- a/.github/workflows/build-on-Windows.yml +++ b/.github/workflows/build-on-Windows.yml @@ -70,7 +70,7 @@ jobs: run: ls *.exe - name: 上传至 'pre' release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 # if: startsWith(github.ref, 'refs/tags/') with: tag_name: pre diff --git a/.github/workflows/build-on-macOS.yml b/.github/workflows/build-on-macOS.yml index 09c41551..d20c31fc 100644 --- a/.github/workflows/build-on-macOS.yml +++ b/.github/workflows/build-on-macOS.yml @@ -39,7 +39,7 @@ jobs: run: ls *-macos - name: 上传至 'pre' release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 # if: startsWith(github.ref, 'refs/tags/') with: tag_name: pre @@ -73,7 +73,7 @@ jobs: run: ls *-macos - name: 上传至 'pre' release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 # if: startsWith(github.ref, 'refs/tags/') with: tag_name: pre diff --git a/.github/workflows/pkg-deb.yml b/.github/workflows/pkg-deb.yml index aaafc863..bdc9c101 100644 --- a/.github/workflows/pkg-deb.yml +++ b/.github/workflows/pkg-deb.yml @@ -129,14 +129,14 @@ jobs: - name: 上传附件到GitHub Releases(the newly created release) if: github.event_name == 'release' - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: # 用 * 省略版本号,以及指代各种架构 files: dist/chsrc_*.deb - name: 上传附件到GitHub Releases(the 'pre' release) if: github.event_name == 'push' - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 with: tag_name: pre # 用 * 指代各种架构