|
44 | 44 | uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0 |
45 | 45 | with: |
46 | 46 | cache-read-only: ${{ inputs.cache-read-only }} |
47 | | - # gradle enterprise is used for the build cache |
48 | | - gradle-home-cache-excludes: caches/build-cache-1 |
49 | 47 |
|
50 | 48 | - name: Spotless |
51 | 49 | run: ./gradlew spotlessCheck ${{ inputs.no-build-cache && '--no-build-cache' || '' }} |
|
68 | 66 | uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0 |
69 | 67 | with: |
70 | 68 | cache-read-only: ${{ inputs.cache-read-only }} |
71 | | - # gradle enterprise is used for the build cache |
72 | | - gradle-home-cache-excludes: caches/build-cache-1 |
73 | 69 |
|
74 | 70 | - name: Generate license report |
75 | 71 | run: ./gradlew generateLicenseReport ${{ inputs.no-build-cache && '--no-build-cache' || '' }} |
@@ -151,8 +147,6 @@ jobs: |
151 | 147 | uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0 |
152 | 148 | with: |
153 | 149 | cache-read-only: ${{ inputs.cache-read-only }} |
154 | | - # gradle enterprise is used for the build cache |
155 | | - gradle-home-cache-excludes: caches/build-cache-1 |
156 | 150 |
|
157 | 151 | - name: Build |
158 | 152 | # javadoc task fails sporadically fetching https://docs.oracle.com/javase/8/docs/api/ |
@@ -253,8 +247,6 @@ jobs: |
253 | 247 | with: |
254 | 248 | # only push cache for one matrix option since github action cache space is limited |
255 | 249 | cache-read-only: ${{ inputs.cache-read-only || matrix.test-java-version != 11 || matrix.vm != 'hotspot' }} |
256 | | - # gradle enterprise is used for the build cache |
257 | | - gradle-home-cache-excludes: caches/build-cache-1 |
258 | 250 |
|
259 | 251 | - name: List tests |
260 | 252 | # "check" is needed to activate all tests for listing purposes |
@@ -379,12 +371,10 @@ jobs: |
379 | 371 | with: |
380 | 372 | # only push cache for one matrix option per OS since github action cache space is limited |
381 | 373 | cache-read-only: ${{ inputs.cache-read-only || matrix.smoke-test-suite != 'tomcat' }} |
382 | | - # gradle enterprise is used for the build cache |
383 | | - gradle-home-cache-excludes: caches/build-cache-1 |
384 | 374 |
|
385 | 375 | - name: Build |
386 | 376 | # running suite "none" compiles everything needed by smoke tests without executing any tests |
387 | | - run: ./gradlew :smoke-tests:test -PsmokeTestSuite=none --no-daemon ${{ inputs.no-build-cache && ' --no-build-cache' || '' }} |
| 377 | + run: ./gradlew :smoke-tests:test -PsmokeTestSuite=none ${{ inputs.no-build-cache && ' --no-build-cache' || '' }} |
388 | 378 |
|
389 | 379 | - name: Test |
390 | 380 | run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }}${{ inputs.no-build-cache && ' --no-build-cache' || '' }} |
|
0 commit comments