diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2022-08-30 22:08:46 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-30 16:38:46 +0000 |
commit | eb042024104ca9ff6271f595f0699d5ea2c4435b (patch) | |
tree | b88a74650c01821a257c1b15a7d4740d48accf10 /.github/workflows/pull_request.yml | |
parent | 302eefe791b58d56aeab630ca621a8dd21dff885 (diff) |
Enable new gradle-home-cache-cleanup option (#2096)
Diffstat (limited to '.github/workflows/pull_request.yml')
-rw-r--r-- | .github/workflows/pull_request.yml | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index c8172767..02aec897 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -43,13 +43,14 @@ jobs: uses: gradle/gradle-build-action@v2.3.0 with: arguments: spotlessCheck + gradle-home-cache-cleanup: true - name: Upload Kotlin build report if: "${{ always() }}" uses: actions/upload-artifact@v3.1.0 with: - name: Build report - path: build/reports/kotlin-build/ + name: Build report + path: build/reports/kotlin-build/ unit-tests: runs-on: ubuntu-latest @@ -84,6 +85,7 @@ jobs: uses: gradle/gradle-build-action@v2.3.0 with: arguments: test -PslimTests + gradle-home-cache-cleanup: true - name: (Fail-only) Upload test report if: "${{ failure() }}" @@ -96,8 +98,8 @@ jobs: if: "${{ always() }}" uses: actions/upload-artifact@v3.1.0 with: - name: Build report - path: build/reports/kotlin-build/ + name: Build report + path: build/reports/kotlin-build/ build-apks: runs-on: ubuntu-latest @@ -132,13 +134,14 @@ jobs: uses: gradle/gradle-build-action@v2.3.0 with: arguments: assembleFreeDebug assembleNonFreeDebug + gradle-home-cache-cleanup: true - name: Upload Kotlin build report if: "${{ always() }}" uses: actions/upload-artifact@v3.1.0 with: - name: Build report - path: build/reports/kotlin-build/ + name: Build report + path: build/reports/kotlin-build/ check-api: runs-on: ubuntu-latest @@ -173,13 +176,14 @@ jobs: uses: gradle/gradle-build-action@v2.3.0 with: arguments: apiCheck + gradle-home-cache-cleanup: true - name: Upload Kotlin build report if: "${{ always() }}" uses: actions/upload-artifact@v3.1.0 with: - name: Build report - path: build/reports/kotlin-build/ + name: Build report + path: build/reports/kotlin-build/ lint-debug: runs-on: ubuntu-latest @@ -214,13 +218,14 @@ jobs: uses: gradle/gradle-build-action@v2.3.0 with: arguments: lintDebug + gradle-home-cache-cleanup: true - name: Upload Kotlin build report if: "${{ always() }}" uses: actions/upload-artifact@v3.1.0 with: - name: Build report - path: build/reports/kotlin-build/ + name: Build report + path: build/reports/kotlin-build/ assemble-release-apks: runs-on: ubuntu-latest @@ -255,13 +260,14 @@ jobs: uses: gradle/gradle-build-action@v2.3.0 with: arguments: aNFR + gradle-home-cache-cleanup: true - name: Upload Kotlin build report if: "${{ always() }}" uses: actions/upload-artifact@v3.1.0 with: - name: Build report - path: build/reports/kotlin-build/ + name: Build report + path: build/reports/kotlin-build/ detekt: runs-on: ubuntu-latest @@ -296,6 +302,7 @@ jobs: uses: gradle/gradle-build-action@v2.3.0 with: arguments: detekt + gradle-home-cache-cleanup: true - name: Upload Kotlin build report if: "${{ always() }}" |