Use Codecov without tokens
They are only required for private repos. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
90a6f8b757
commit
c4ceccf80c
|
@ -32,7 +32,6 @@ 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
|
||||
|
|
|
@ -55,5 +55,8 @@ jobs:
|
|||
run: composer run test
|
||||
- name: Upload coverage to Codecov
|
||||
if: ${{ matrix.nextcloud-versions == 'master' }}
|
||||
working-directory: nextcloud/apps/calendar
|
||||
run: curl -s https://codecov.io/bash | bash -s - -t ${{ secrets.CODECOV_TOKEN }} -F php -f clover.unit.xml -Z
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
file: nextcloud/apps/calendar/clover.unit.xml
|
||||
flags: php
|
||||
fail_ci_if_error: true
|
||||
|
|
Loading…
Reference in New Issue