Make use of CODECOV_TOKEN in ci.yml in order to work around Github Actions API errors that occur.

This commit is contained in:
binary1248 2023-03-07 01:48:57 +01:00 committed by Lukas Dürrenberger
parent 474de4d16e
commit 42a53cfb1d

View File

@ -102,6 +102,7 @@ jobs:
if: matrix.type.name == 'Debug' && github.repository == 'SFML/SFML' # Disable upload in forks if: matrix.type.name == 'Debug' && github.repository == 'SFML/SFML' # Disable upload in forks
uses: codecov/codecov-action@v3 uses: codecov/codecov-action@v3
with: with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./build directory: ./build
files: ./build/coverage.out files: ./build/coverage.out
fail_ci_if_error: true fail_ci_if_error: true