Skip to content

Commit

Permalink
[Java] Add Gradle caching
Browse files Browse the repository at this point in the history
  • Loading branch information
vyazelenko committed Apr 1, 2020
1 parent c1dc5a0 commit f3fefee
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 38 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@ jobs:
uses: actions/checkout@v2
with:
ref: ${{ github.event.client_payload.gitRef }}
- name: Cache Gradle dependencies
uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Cache Gradle wrappers
uses: actions/cache@v1
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
- name: Setup java
uses: actions/setup-java@v1
with:
Expand Down
38 changes: 0 additions & 38 deletions .github/workflows/release.yml

This file was deleted.

0 comments on commit f3fefee

Please sign in to comment.