From 814cf3849868ff8c5c68062188c4878f368c8bc2 Mon Sep 17 00:00:00 2001 From: mmsqe Date: Wed, 18 Dec 2024 15:18:06 +0800 Subject: [PATCH] fix ci --- .github/workflows/build.yml | 12 ++++++------ .github/workflows/nix.yml | 18 +++++++++--------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0a361b1d1..a866943e7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -124,7 +124,7 @@ jobs: echo ${{ job.status }} > status_build.txt - name: Upload file status_build.txt as an artifact if: github.event_name == 'issue_comment' - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: pass_status_build path: status_build.txt @@ -189,7 +189,7 @@ jobs: echo ${{ job.status }} > status_install.txt - name: Upload file status_install.txt as an artifact if: github.event_name == 'issue_comment' - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: pass_status_install path: status_install.txt @@ -236,7 +236,7 @@ jobs: echo ${{ job.status }} > status_sim1.txt - name: Upload file status_sim1.txt as an artifact if: github.event_name == 'issue_comment' - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: pass_status_sim1 path: status_sim1.txt @@ -283,7 +283,7 @@ jobs: echo ${{ job.status }} > status_sim2.txt - name: Upload file status_sim2.txt as an artifact if: github.event_name == 'issue_comment' - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: pass_status_sim2 path: status_sim2.txt @@ -330,7 +330,7 @@ jobs: echo ${{ job.status }} > status_sim3.txt - name: Upload file status_sim3.txt as an artifact if: github.event_name == 'issue_comment' - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: pass_status_sim3 path: status_sim3.txt @@ -427,7 +427,7 @@ jobs: set +e (git diff --no-ext-diff --exit-code) echo "changed=$?" >> $GITHUB_OUTPUT - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 if: steps.changes.outputs.changed == 1 with: name: gomod2nix.toml diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 78b0520b1..91e6f7c2c 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -63,7 +63,7 @@ jobs: - name: Tar debug files if: failure() run: tar cfz debug_files.tar.gz -C "$TMPDIR/pytest-of-runner" . - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 if: failure() with: name: debug_files @@ -127,7 +127,7 @@ jobs: - name: Tar debug files if: failure() run: tar cfz debug_files_upgrade.tar.gz -C /tmp/pytest-of-runner . - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 if: failure() with: name: debug_files_upgrade @@ -164,7 +164,7 @@ jobs: - name: Tar debug files if: failure() run: tar cfz debug_files_ledger.tar.gz -C /tmp/pytest-of-runner . - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 if: failure() with: name: debug_files_ledger @@ -201,7 +201,7 @@ jobs: - name: Tar debug files if: failure() run: tar cfz debug_files_solomachine.tar.gz -C /tmp/pytest-of-runner . - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 if: failure() with: name: debug_files_solomachine @@ -238,7 +238,7 @@ jobs: - name: Tar debug files if: failure() run: tar cfz debug_files_slow.tar.gz -C /tmp/pytest-of-runner . - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 if: failure() with: name: debug_files_slow @@ -275,7 +275,7 @@ jobs: - name: Tar debug files if: failure() run: tar cfz debug_files_ibc.tar.gz -C /tmp/pytest-of-runner . - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 if: failure() with: name: debug_files_ibc @@ -312,7 +312,7 @@ jobs: - name: Tar debug files if: failure() run: tar cfz debug_files_byzantine.tar.gz -C /tmp/pytest-of-runner . - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 if: failure() with: name: debug_files_byzantine @@ -349,7 +349,7 @@ jobs: - name: Tar debug files if: failure() run: tar cfz debug_files_gov.tar.gz -C /tmp/pytest-of-runner . - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 if: failure() with: name: debug_files_gov @@ -387,7 +387,7 @@ jobs: - name: Tar debug files if: failure() run: tar cfz debug_files_grpc.tar.gz -C /tmp/pytest-of-runner . - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 if: failure() with: name: debug_files_grpc