diff --git a/.github/workflows/npm-test.yml b/.github/workflows/npm-test.yml index ba4b72bf9..b1862c4c7 100644 --- a/.github/workflows/npm-test.yml +++ b/.github/workflows/npm-test.yml @@ -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 diff --git a/.github/workflows/php-test.yml b/.github/workflows/php-test.yml index 40c49ac3e..c06713e50 100644 --- a/.github/workflows/php-test.yml +++ b/.github/workflows/php-test.yml @@ -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