Skip to content

Commit d21e00e

Browse files
authored
ci: adopt gradle/actions/setup-gradle (#180)
Replaces setup-java's coarse gradle cache with the Gradle-recommended setup-gradle action: finer-grained caching with automatic cleanup and read-only caches on non-default branches, Gradle wrapper checksum validation (guarding the Dependabot wrapper-bump stream), and build/ cache job summaries.
1 parent d260f25 commit d21e00e

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/gradle.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ jobs:
2626
with:
2727
java-version: '21'
2828
distribution: 'temurin'
29-
cache: 'gradle'
29+
- name: Set up Gradle
30+
uses: gradle/actions/setup-gradle@v6
3031
- name: Setup ms-playwright cache
3132
id: setup-ms-playwright-cache
3233
uses: actions/cache@v6

.github/workflows/upstream-canary.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ jobs:
6060
with:
6161
java-version: '21'
6262
distribution: 'temurin'
63-
cache: 'gradle'
63+
- name: Set up Gradle
64+
uses: gradle/actions/setup-gradle@v6
6465
- name: Setup ms-playwright cache
6566
id: setup-ms-playwright-cache
6667
uses: actions/cache@v6

0 commit comments

Comments
 (0)