Skip to content

Commit

Permalink
Add codecov token (#921)
Browse files Browse the repository at this point in the history
We have upgraded our codecov upload action to v4. However, tokenless
uploads are unsupported now (see
codecov/codecov-action#1293). This PR fixes
the config to give the action a codecov token stored in repository
secrets.
  • Loading branch information
yuxincs committed Feb 23, 2024
1 parent a7bb7d3 commit 28cc318
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ jobs:
uses: codecov/codecov-action@v4
with:
files: ./code-coverage-report/build/reports/jacoco/codeCoverageReport/codeCoverageReport.xml
token: ${{ secrets.CODECOV_TOKEN }}
if: steps.jacoco_report.outcome == 'success'
- name: Test publishToMavenLocal flow
env:
Expand Down

0 comments on commit 28cc318

Please sign in to comment.