Skip to content

Commit fd0b6fe

Browse files
Copilotjaydeluca
andcommitted
Fix: Remove invalid cache-configuration parameter from GitHub Actions
The cache-configuration parameter doesn't exist in gradle/actions/setup-gradle. Configuration cache is controlled by gradle.properties setting only. This fixes the build failure caused by the invalid parameter. Co-authored-by: jaydeluca <[email protected]>
1 parent e5636bb commit fd0b6fe

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

.github/workflows/build-common.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ jobs:
4141
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3
4242
with:
4343
cache-read-only: ${{ inputs.cache-read-only }}
44-
# Enable configuration cache support
45-
cache-configuration: true
4644

4745
- name: Spotless
4846
run: ./gradlew spotlessCheck ${{ inputs.no-build-cache && '--no-build-cache' || '' }}
@@ -65,8 +63,6 @@ jobs:
6563
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3
6664
with:
6765
cache-read-only: ${{ inputs.cache-read-only }}
68-
# Enable configuration cache support
69-
cache-configuration: true
7066

7167
- name: Generate license report
7268
# with the build cache enabled occasionally produces outdated results
@@ -106,8 +102,6 @@ jobs:
106102
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3
107103
with:
108104
cache-read-only: ${{ inputs.cache-read-only }}
109-
# Enable configuration cache support
110-
cache-configuration: true
111105

112106
- name: Generate FOSSA configuration
113107
run: ./gradlew generateFossaConfiguration
@@ -196,8 +190,6 @@ jobs:
196190
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3
197191
with:
198192
cache-read-only: ${{ inputs.cache-read-only }}
199-
# Enable configuration cache support
200-
cache-configuration: true
201193

202194
- name: Build
203195
run: ./gradlew check javadoc sourcesJar spdxSbom -x spotlessCheck -PskipTests=true ${{ inputs.no-build-cache && '--no-build-cache' || '' }}
@@ -312,8 +304,6 @@ jobs:
312304
with:
313305
# only push cache for one matrix option since github action cache space is limited
314306
cache-read-only: ${{ inputs.cache-read-only || matrix.test-java-version != 11 || matrix.vm != 'hotspot' }}
315-
# Enable configuration cache support
316-
cache-configuration: true
317307

318308
- name: List tests
319309
# "check" is needed to activate all tests for listing purposes
@@ -496,8 +486,6 @@ jobs:
496486
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3
497487
with:
498488
cache-read-only: ${{ inputs.cache-read-only }}
499-
# Enable configuration cache support
500-
cache-configuration: true
501489

502490
- name: Build
503491
run: ./gradlew build ${{ inputs.no-build-cache && '--no-build-cache' || '' }}

.github/workflows/reusable-muzzle.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ jobs:
3939
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3
4040
with:
4141
cache-read-only: ${{ inputs.cache-read-only }}
42-
# Enable configuration cache support
43-
cache-configuration: true
4442

4543
- name: Run muzzle
4644
run: ./gradlew ${{ matrix.task }}

0 commit comments

Comments
 (0)