Skip to content

Commit

Permalink
Merge pull request #5573 from JabRef/githubcache
Browse files Browse the repository at this point in the history
Add gradle caching for github actions
  • Loading branch information
Siedlerchr authored Nov 7, 2019
2 parents 3ad82f5 + 40423f6 commit f545ac5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 12.0.2
- uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.OS }}-gradle-${{ env.cache-name }}-
${{ runner.OS }}-gradle-
${{ runner.OS }}-
- name: Download jpackage
# We need to download jpackage from https://jdk.java.net/jpackage/
run: |
Expand Down

0 comments on commit f545ac5

Please sign in to comment.