diff --git a/.github/workflows/czicompress_cmake.yml b/.github/workflows/czicompress_cmake.yml index ad40c91..bd27554 100644 --- a/.github/workflows/czicompress_cmake.yml +++ b/.github/workflows/czicompress_cmake.yml @@ -87,13 +87,14 @@ jobs: run: OpenCppCoverage.exe --export_type cobertura:${{github.workspace}}\TestResults\coverage.xml --sources "${{github.workspace}}\czicompress" --excluded_sources "${{github.workspace}}\czicompress\tests" --modules czicompress -- czicompress_tests.exe - name: Upload Coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 if: ${{ (matrix.config.os == 'windows-latest') && (matrix.build == 'Debug') }} with: files: coverage.xml fail_ci_if_error: true directory: ${{ github.workspace }}/TestResults verbose: true + token: ${{ secrets.CODECOV_TOKEN }} # required - name: Prepare licenses if: matrix.build == 'Release' diff --git a/.github/workflows/czishrink_dotnet.yml b/.github/workflows/czishrink_dotnet.yml index e7944f8..d50ed13 100644 --- a/.github/workflows/czishrink_dotnet.yml +++ b/.github/workflows/czishrink_dotnet.yml @@ -101,12 +101,13 @@ jobs: - name: Upload coverage reports for czishrink to Codecov if: ${{ (matrix.config.os == 'ubuntu-latest') && (matrix.build == 'Debug') }} - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: fail_ci_if_error: true directory: ${{ github.workspace }}/TestResults files: coverage.cobertura.xml verbose: true + token: ${{ secrets.CODECOV_TOKEN }} # required - name: Upload dotnet test results uses: actions/upload-artifact@v4