Skip to content

Commit

Permalink
Fix build-configuration-compatibility Gradle experiment (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonMarquis authored Dec 20, 2024
1 parent 92f39a6 commit b6f4c3f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/actions/setup-gradle/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ inputs:
cache-encryption-key:
description: Gradle Configuration Cache encryption key
required: false
cache-disabled:
description: When 'true', all caching is disabled. No entries will be written to or read from the cache.
required: false
default: false

runs:
using: composite
Expand All @@ -13,3 +17,4 @@ runs:
with:
add-job-summary-as-pr-comment: on-failure
cache-encryption-key: ${{ inputs.cache-encryption-key }}
cache-disabled: ${{ inputs.cache-disabled }}
4 changes: 4 additions & 0 deletions .github/workflows/gradle-experiments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-java
# Force setup-gradle to prevent issue: https://github.com/gradle/develocity-build-validation-scripts/issues/776
- uses: ./.github/actions/setup-gradle
with:
cache-disabled: true
- name: Run configuration cache experiment
uses: gradle/develocity-build-validation-scripts/.github/actions/gradle/experiment-config-cache@actions-stable
with:
Expand Down

0 comments on commit b6f4c3f

Please sign in to comment.