Skip to content

Commit

Permalink
Update Github cache action from v1 to v2
Browse files Browse the repository at this point in the history
This will update this Github cache actions library from version v1 to v2.
The new version has better performance and caching abilities.

Release notes available at:
https://github.com/actions/cache/releases/tag/v2.0.0


Issue: None
PR: #269
  • Loading branch information
beatngu13 committed May 28, 2020
1 parent 79c4431 commit dd6588f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ jobs:
with:
java-version: ${{ matrix.java }}
- name: Cache Gradle
uses: actions/cache@v1
uses: actions/cache@v2
with:
path: ~/.gradle/caches/
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: ${{ runner.os }}-gradle-
- name: Cache Sonar
uses: actions/cache@v1
uses: actions/cache@v2
if: matrix.java == '11' && matrix.os == 'ubuntu'
with:
path: ~/.sonar/cache/
Expand Down

0 comments on commit dd6588f

Please sign in to comment.