From 7cd044b7d7cb63e58b533d8ea8ba414f9414ad3d Mon Sep 17 00:00:00 2001 From: "Damith C. Rajapakse" Date: Fri, 8 Sep 2023 18:01:58 +0800 Subject: [PATCH] Update gradle.yml to use Codecov action@v3 --- .github/workflows/gradle.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 81267b24..0112fb20 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -38,9 +38,7 @@ jobs: - name: Build and check with Gradle run: ./gradlew check coverage - - uses: codecov/codecov-action@v2 - if: runner.os == 'Linux' - with: - directory: ${{ github.workspace }}/build/reports/jacoco/coverage - files: coverage.xml - fail_ci_if_error: false + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}