diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index c0e7a1bfe..c48892c0f 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -33,6 +33,8 @@ jobs: - name: Test with Maven run: mvn clean test -B -U -Psonatype - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: files: ${{ github.workspace }}/target/site/jacoco/jacoco.xml