Skip to content

Commit

Permalink
Enable gradle-home-cache-cleanup on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Jun 15, 2024
1 parent 85129e4 commit efb5b39
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/Build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:

- name: Setup Gradle
uses: gradle/gradle-build-action@v3
with:
gradle-home-cache-cleanup: true

- name: Check build-logic
run: ./gradlew check -p build-logic
Expand Down Expand Up @@ -188,6 +190,8 @@ jobs:

- name: Setup Gradle
uses: gradle/gradle-build-action@v3
with:
gradle-home-cache-cleanup: true

- name: Build projects and run instrumentation tests
uses: reactivecircus/android-emulator-runner@v2
Expand All @@ -208,7 +212,7 @@ jobs:
- name: Generate coverage reports for Debug variants (only API 30)
if: matrix.api-level == 30
run: ./gradlew createDemoDebugCombinedCoverageReport

- name: Upload test reports
if: always()
uses: actions/upload-artifact@v4
Expand All @@ -227,7 +231,7 @@ jobs:
paths: |
${{ github.workspace }}/**/build/reports/jacoco/**/*Report.xml
token: ${{ secrets.GITHUB_TOKEN }}

- name: Upload local coverage reports (XML + HTML) (only API 30)
if: matrix.api-level == 30
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit efb5b39

Please sign in to comment.