From c6ff2d6de4efd337e617bb47dac977c53518ae81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?19=E5=B9=B4=E6=A2=A6=E9=86=92?= <3949379+getong@users.noreply.github.com> Date: Mon, 2 Dec 2024 21:58:42 +0800 Subject: [PATCH] update github ci actions/upload-artifact to v4 --- .github/workflows/chaos.yml | 2 +- .github/workflows/ci.yaml | 6 +++--- .github/workflows/coverage.yml | 7 +++---- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/chaos.yml b/.github/workflows/chaos.yml index f0b6ca2f1..d15a7ee83 100644 --- a/.github/workflows/chaos.yml +++ b/.github/workflows/chaos.yml @@ -46,7 +46,7 @@ jobs: - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: failure() with: name: ut diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fc0b0df44..27c58895c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -127,7 +127,7 @@ jobs: - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: "ut-${{ matrix.toolchain }}-${{ matrix.features }}-${{ matrix.send_delay }}" @@ -291,7 +291,7 @@ jobs: - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: openraft-feature-test @@ -339,7 +339,7 @@ jobs: - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: tests-feature-test diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 38d533be9..d159d709d 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -25,8 +25,8 @@ jobs: CARGO_INCREMENTAL: '0' # RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' # RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' - RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests' - RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests' + RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests' + RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests' - uses: actions-rs/grcov@v0.1 id: coverage @@ -38,9 +38,8 @@ jobs: path-to-lcov: ${{ steps.coverage.outputs.report }} - name: Upload artifact for coverage - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: failure() with: path: | openraft/_log/ -