Skip to content

Commit

Permalink
[codecov] Conditionally triggering the step if secret is present
Browse files Browse the repository at this point in the history
  • Loading branch information
didierofrivia committed Aug 11, 2023
1 parent 3c642d6 commit 42f83bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
- name: Test and Generate code coverage
run: cargo +nightly llvm-cov --all-features --workspace --lcov --doctests --output-path lcov.info
- name: Codecov
if: ${{ secrets.CODECOV_TOKEN != '' }}
uses: codecov/codecov-action@v3
with:
verbose: true
Expand Down

0 comments on commit 42f83bd

Please sign in to comment.