Skip to content

Commit

Permalink
build.yml: Add secrets.CODECOV_TOKEN to Codecov upload
Browse files Browse the repository at this point in the history
  • Loading branch information
NeilJustice committed May 23, 2024
1 parent 91f7c64 commit 13fe67a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
lcov_21/bin/lcov --version
lcov_21/bin/lcov --directory . --capture --output-file coverage.info
lcov_21/bin/lcov --list coverage.info
bash <(curl -s https://codecov.io/bash) -f coverage.info || echo "Codecov did not collect coverage reports"
bash <(curl -s https://codecov.io/bash) -f coverage.info -t ${{ secrets.CODECOV_TOKEN }} || echo "Codecov did not collect coverage reports"
if: ${{ matrix.cxx == 'g++-11' && matrix.cmake_build_type == 'Release' }}

- name: tree GITHUB_WORKSPACE
Expand Down

0 comments on commit 13fe67a

Please sign in to comment.