Skip to content

Commit

Permalink
Update gradle.yml to use Codecov action@v3
Browse files Browse the repository at this point in the history
  • Loading branch information
damithc committed Sep 8, 2023
1 parent eb0af9c commit 7cd044b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 7cd044b

Please sign in to comment.