From 2db789bab348405da4032babb3ffda68409afa1a Mon Sep 17 00:00:00 2001 From: Benedikt Waldvogel Date: Fri, 5 Jul 2024 11:18:29 +0200 Subject: [PATCH] Fix coverate upload to Codecov --- .github/workflows/gradle.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 47a6a45..a64fa90 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -40,7 +40,8 @@ jobs: java-version: 21 - name: Build with Gradle run: ./gradlew build jacocoTestReport - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1 + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v4.0.1 with: + token: ${{ secrets.CODECOV_TOKEN }} files: ./build/reports/jacoco/test/jacocoTestReport.xml