diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 309b50f..8af6350 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -117,7 +117,9 @@ jobs: "C:\Program Files\OpenCppCoverage\OpenCppCoverage.exe" --export_type cobertura:coverage.out --sources "ShaderLang\include\NZSL\*" --sources "ShaderLang\src\NZSL\*" --excluded_sources "ShaderLang\src\NZSL\SpirV\SpirvData.cpp" --modules "ShaderLang\bin\*" --cover_children -- xmake run UnitTests - name: Upload Coverage Report to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: files: ./coverage.out fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} +