Skip to content

Commit

Permalink
CI: move toolchain name from the flag to env_vars.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheVeryDarkness committed Aug 11, 2024
1 parent 96cd519 commit 104907c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,13 @@ jobs:
run: cargo llvm-cov --workspace --lcov --output-path lcov.info
- name: Upload Results to Codecov
uses: codecov/codecov-action@v3
env:
RUSTUP_TOOLCHAIN: ${{ steps.toolchain.outputs.name }}
with:
file: lcov.info
flags: unittests,${{ steps.toolchain.outputs.name }}
flags: unittests
name: iof
env_vars: OS
env_vars: OS,RUSTUP_TOOLCHAIN
# Failing to upload results will cause a CI error.
# So remember to use a token.
fail_ci_if_error: true
Expand Down

0 comments on commit 104907c

Please sign in to comment.