From a687aba76c42556b483bcd8182fadc7966312a30 Mon Sep 17 00:00:00 2001 From: Ivan Yonkov Date: Mon, 5 Feb 2024 22:58:43 +0200 Subject: [PATCH] [CI] Add token for CodeCov --- .github/workflows/maven.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 5119ce9..067c1de 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -21,7 +21,8 @@ jobs: - name: JaCoCo Coverage run: mvn clean test jacoco:report -Pmvn-deploy - name: Codecov Upload - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_TOKEN }} file: ./openai-api-coverage/target/site/jacoco-aggregate/jacoco.xml fail_ci_if_error: true