diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 2e44ddc5328..613a4e270e4 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -102,9 +102,10 @@ jobs: path: build - name: Upload Coverage Report - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: files: build/coverage.info + token: ${{ secrets.CODECOV_TOKEN }} name: coverage-cpp fail_ci_if_error: true verbose: true diff --git a/.github/workflows/sdk.yml b/.github/workflows/sdk.yml index c7013682d21..eafe87cbe1f 100644 --- a/.github/workflows/sdk.yml +++ b/.github/workflows/sdk.yml @@ -452,9 +452,10 @@ jobs: path: go - name: Upload Coverage Report - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: files: go/coverage.out,python/openmldb_sdk/tests/coverage.xml,python/openmldb_tool/tests/coverage.xml,java/**/target/site/jacoco/jacoco.xml,java/**/target/scoverage.xml name: coverage-sdk + token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true verbose: true