Skip to content

Commit 466345c

Browse files
committed
Improve GHA caching
1 parent 9125335 commit 466345c

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,8 @@ jobs:
1515
uses: actions/setup-java@v1
1616
with:
1717
java-version: 17
18-
- name: Grant execute permission for gradlew
19-
run: chmod +x gradlew
20-
- name: Use gradle cache for faster builds
21-
uses: actions/cache@v4
22-
with:
23-
path: ~/.gradle/caches
24-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
18+
- name: Setup Gradle
19+
uses: gradle/actions/setup-gradle@v4
2520
- name: Build with Gradle
2621
run: ./gradlew build
2722
env:

0 commit comments

Comments
 (0)