From 3773babc180786a2e85f58e6b84f9d94371076c4 Mon Sep 17 00:00:00 2001 From: Alex Skrypnyk Date: Fri, 2 Feb 2024 22:52:16 +0900 Subject: [PATCH] Updated Codecov config for v4. --- .github/workflows/test-php.yml | 3 +-- .github/workflows/test-scaffold.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-php.yml b/.github/workflows/test-php.yml index 3ea7624..75fd519 100644 --- a/.github/workflows/test-php.yml +++ b/.github/workflows/test-php.yml @@ -49,11 +49,10 @@ jobs: - name: Upload coverage report to Codecov uses: codecov/codecov-action@v4 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: files: ./cobertura.xml fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} #;< PHP_PHAR build-php: diff --git a/.github/workflows/test-scaffold.yml b/.github/workflows/test-scaffold.yml index 21da818..ab47948 100644 --- a/.github/workflows/test-scaffold.yml +++ b/.github/workflows/test-scaffold.yml @@ -52,8 +52,7 @@ jobs: - name: Upload coverage report to Codecov uses: codecov/codecov-action@v4 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: directory: ./coverage fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }}