From a61ac513438bbc85db6812322da04ac9493ce00c Mon Sep 17 00:00:00 2001 From: Eugen C <1533818+armab@users.noreply.github.com> Date: Sat, 21 Oct 2023 15:33:28 +0100 Subject: [PATCH] Use CODECOV_TOKEN ENV variable from CI --- scripts/ci/submit-codecov-coverage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci/submit-codecov-coverage.sh b/scripts/ci/submit-codecov-coverage.sh index 8ad7340b89..f2b7895fd1 100755 --- a/scripts/ci/submit-codecov-coverage.sh +++ b/scripts/ci/submit-codecov-coverage.sh @@ -20,7 +20,7 @@ if [[ "${USER}" == "runner" || ${TRAVIS_TEST_RESULT} -eq 0 ]]; then pip install -U pip pip install codecov-cli>=0.3.2 - codecovcli upload-process -t '5e2b4342-af24-42f9-a95a-e839902f74e8' + codecovcli upload-process -t "${CODECOV_TOKEN}" exit $? else echo "Build has failed, not submitting coverage"