Skip to content

Commit 19e050f

Browse files
authored
Merge pull request #76 from PokeAPI/actions-cache
Save gradle build cache in CI
2 parents 2802dbe + e631276 commit 19e050f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v2
19+
- name: Save and restore Gradle build cache
20+
uses: actions/cache@v1
21+
with:
22+
path: ~/.gradle/caches
23+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
1924
- name: Set up JDK 1.8
2025
uses: actions/setup-java@v1
2126
with:

0 commit comments

Comments
 (0)