Skip to content

Commit

Permalink
update github ci actions/upload-artifact to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
getong committed Dec 2, 2024
1 parent 4aaff4f commit c6ff2d6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/chaos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:


- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: failure()
with:
name: ut
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
id: coverage
Expand All @@ -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/

0 comments on commit c6ff2d6

Please sign in to comment.