From f849d880d63691ff05ea54a841146439e5de0941 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Wed, 17 Apr 2024 19:58:53 +0300 Subject: [PATCH] CI: Move to codecov-action@4 Again, trying to fix the error ``` Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov' failed with exit code 255 ``` https://github.com/codecov/codecov-action/issues/598 --- .github/workflows/engine_unit-test.yml | 4 +++- .github/workflows/functional_test.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/engine_unit-test.yml b/.github/workflows/engine_unit-test.yml index 3b49012..e60b09b 100644 --- a/.github/workflows/engine_unit-test.yml +++ b/.github/workflows/engine_unit-test.yml @@ -38,7 +38,9 @@ jobs: coverage xml -i -o coverage_unittest.xml - name: Handle coverage - uses: codecov/codecov-action@v3.1.5 + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: files: ./coverage_unittest.xml flags: engine_unit-test diff --git a/.github/workflows/functional_test.yml b/.github/workflows/functional_test.yml index c94851e..27f2482 100644 --- a/.github/workflows/functional_test.yml +++ b/.github/workflows/functional_test.yml @@ -61,7 +61,9 @@ jobs: coverage xml -i -o coverage.xml - name: Handle coverage - uses: codecov/codecov-action@v3.1.5 + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: files: ./coverage.xml flags: functional_test -- 2.31.1