aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuxin Wang <yuxinw@uber.com>2024-02-23 17:08:54 -0500
committerGitHub <noreply@github.com>2024-02-23 17:08:54 -0500
commit28cc318c41db2941f34e23bbd8b91c58b1bab241 (patch)
treee9ce84e64355706ad2b1f36aa2ec98c0646208f7
parenta7bb7d320cf774a9ec6beb9e6b79b9bef30accf1 (diff)
downloadnullaway-28cc318c41db2941f34e23bbd8b91c58b1bab241.tar.gz
Add codecov token (#921)
We have upgraded our codecov upload action to v4. However, tokenless uploads are unsupported now (see https://github.com/codecov/codecov-action/issues/1293). This PR fixes the config to give the action a codecov token stored in repository secrets.
-rw-r--r--.github/workflows/continuous-integration.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml
index 6ec6194..5dcb0b0 100644
--- a/.github/workflows/continuous-integration.yml
+++ b/.github/workflows/continuous-integration.yml
@@ -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: