diff --git a/.github/workflows/matlab_test_and_coverage.yaml b/.github/workflows/matlab_test_and_coverage.yml similarity index 96% rename from .github/workflows/matlab_test_and_coverage.yaml rename to .github/workflows/matlab_test_and_coverage.yml index ecaca35..75cfd89 100644 --- a/.github/workflows/matlab_test_and_coverage.yaml +++ b/.github/workflows/matlab_test_and_coverage.yml @@ -62,9 +62,10 @@ jobs: if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' # no coverage on windows as long as MOcov does not support it # see https://github.com/MOcov/MOcov/issues/28 - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: file: coverage.xml # optional flags: ${{ matrix.os }}_matlab-${{ matrix.version }} name: codecov-umbrella # optional fail_ci_if_error: true # optional (default = false) + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/octave_test_and_coverage.yml b/.github/workflows/octave_test_and_coverage.yml index 11aea83..2bc4a5d 100644 --- a/.github/workflows/octave_test_and_coverage.yml +++ b/.github/workflows/octave_test_and_coverage.yml @@ -26,7 +26,7 @@ jobs: cover_xml_file: coverage.xml - name: Code coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos file: coverage.xml # optional