Skip to content

Commit 921ddcf

Browse files
committed
Add gradle-cahce for github actions
1 parent 6186b16 commit 921ddcf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/gradle.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ jobs:
1313
uses: actions/setup-java@v1
1414
with:
1515
java-version: 16
16+
- uses: actions/cache@v2
17+
with:
18+
path: |
19+
~/.gradle/caches
20+
~/.gradle/wrapper
21+
key: "${{ runner.os }}-bluemap-${{ hashFiles('**/*.gradle*') }}"
22+
restore-keys: |
23+
${{ runner.os }}-bluemap-
1624
- name: Build with Gradle
1725
run: ./gradlew clean test build
1826
- uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)