ci: use codecov token when uploading coverage

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
This commit is contained in:
Richard Steinmetz 2024-04-25 17:22:19 +02:00
parent 5d1a18ef94
commit a0d65c3c59
No known key found for this signature in database
GPG Key ID: 27137D9E7D273FB2
2 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@ jobs:
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage/coverage-final.json
flags: javascript
fail_ci_if_error: true

View File

@ -53,6 +53,7 @@ jobs:
if: ${{ matrix.nextcloud-versions == 'master' }}
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: nextcloud/apps/calendar/clover.unit.xml
flags: php
fail_ci_if_error: true