From 7783f9f2298d960a52d2f5d20948705c2a323af3 Mon Sep 17 00:00:00 2001 From: HaoXuan40404 <444649358@qq.com> Date: Tue, 19 Nov 2024 17:49:25 +0800 Subject: [PATCH] fix action upload --- .github/workflows/release.yml | 48 +++++++++++++++++------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 85eac48..58ba977 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: - name: build run: cargo build --all --all-targets --verbose --release - name: Upload wedpr-lab-crypto binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v4-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} asset_name: libffi_c_crypto.dylib @@ -33,7 +33,7 @@ jobs: tag: ${{ github.ref }} overwrite: true - name: Upload wedpr-lab-crypto binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v4-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} asset_name: libffi_c_zkp.dylib @@ -41,7 +41,7 @@ jobs: tag: ${{ github.ref }} overwrite: true - name: Upload wedpr-lab-crypto binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v4-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} asset_name: libffi_java_crypto_binary.dylib @@ -49,7 +49,7 @@ jobs: tag: ${{ github.ref }} overwrite: true - name: Upload wedpr-lab-crypto binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v4-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} asset_name: libffi_c_crypto_binary.dylib @@ -57,7 +57,7 @@ jobs: tag: ${{ github.ref }} overwrite: true - name: Upload wedpr-lab-crypto binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v4-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} asset_name: libffi_fisco_bcos_sdk.dylib @@ -65,7 +65,7 @@ jobs: tag: ${{ github.ref }} overwrite: true - name: Upload wedpr-lab-crypto binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v4-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} asset_name: libffi_c_fisco_bcos.dylib @@ -73,7 +73,7 @@ jobs: tag: ${{ github.ref }} overwrite: true - name: Upload wedpr-lab-crypto binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v4-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} asset_name: libffi_java_crypto.dylib @@ -85,7 +85,7 @@ jobs: - name: rename to ffi_java_sdk lib run: mv target/release/libffi_java_crypto.dylib target/release/libffi_java_sdk.dylib - name: Upload wedpr-lab-crypto binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v4-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} asset_name: libffi_java_sdk.dylib @@ -115,7 +115,7 @@ jobs: run: | cargo build --all --all-targets --verbose --release - name: Upload wedpr-lab-crypto binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v4-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} asset_name: libffi_c_crypto.so @@ -123,7 +123,7 @@ jobs: tag: ${{ github.ref }} overwrite: true - name: Upload wedpr-lab-crypto binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v4-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} asset_name: libffi_c_zkp.so @@ -131,7 +131,7 @@ jobs: tag: ${{ github.ref }} overwrite: true - name: Upload wedpr-lab-crypto binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v4-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} asset_name: libffi_java_crypto_binary.so @@ -139,7 +139,7 @@ jobs: tag: ${{ github.ref }} overwrite: true - name: Upload wedpr-lab-crypto binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v4-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} asset_name: libffi_c_crypto_binary.so @@ -147,7 +147,7 @@ jobs: tag: ${{ github.ref }} overwrite: true - name: Upload wedpr-lab-crypto binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v4-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} asset_name: libffi_fisco_bcos_sdk.so @@ -155,7 +155,7 @@ jobs: tag: ${{ github.ref }} overwrite: true - name: Upload wedpr-lab-crypto binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v4-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} asset_name: libffi_c_fisco_bcos.so @@ -163,7 +163,7 @@ jobs: tag: ${{ github.ref }} overwrite: true - name: Upload wedpr-lab-crypto binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v4-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} asset_name: libffi_java_crypto.so @@ -175,7 +175,7 @@ jobs: - name: rename to ffi_java_sdk lib run: mv target/release/libffi_java_crypto.so target/release/libffi_java_sdk.so - name: Upload wedpr-lab-crypto binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v4-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} asset_name: libffi_java_sdk.so @@ -199,7 +199,7 @@ jobs: run: | cargo build --all --all-targets --verbose --release - name: Upload wedpr-lab-crypto binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v4-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: D:\a\WeDPR-Lab-Crypto\WeDPR-Lab-Crypto\target\release\ffi_c_crypto.dll @@ -207,7 +207,7 @@ jobs: tag: ${{ github.ref }} overwrite: true - name: Upload wedpr-lab-crypto binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v4-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} asset_name: ffi_c_zkp.dll @@ -215,7 +215,7 @@ jobs: tag: ${{ github.ref }} overwrite: true - name: Upload wedpr-lab-crypto binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v4-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} asset_name: ffi_java_crypto_binary.dll @@ -223,7 +223,7 @@ jobs: tag: ${{ github.ref }} overwrite: true - name: Upload wedpr-lab-crypto binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v4-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} asset_name: ffi_c_crypto_binary.dll @@ -231,7 +231,7 @@ jobs: tag: ${{ github.ref }} overwrite: true - name: Upload wedpr-lab-crypto binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v4-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} asset_name: ffi_fisco_bcos_sdk.dll @@ -239,7 +239,7 @@ jobs: tag: ${{ github.ref }} overwrite: true - name: Upload wedpr-lab-crypto binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v4-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} asset_name: ffi_c_fisco_bcos.dll @@ -247,7 +247,7 @@ jobs: tag: ${{ github.ref }} overwrite: true - name: Upload wedpr-lab-crypto binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v4-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} asset_name: ffi_java_crypto.dll @@ -259,7 +259,7 @@ jobs: - name: rename to vrf lib run: mv D:\a\WeDPR-Lab-Crypto\WeDPR-Lab-Crypto\target\release\ffi_java_crypto.dll D:\a\WeDPR-Lab-Crypto\WeDPR-Lab-Crypto\target\release\ffi_java_sdk.dll - name: Upload wedpr-lab-crypto binaries to release - uses: svenstaro/upload-release-action@v1-release + uses: svenstaro/upload-release-action@v4-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} asset_name: ffi_java_sdk.dll