Skip to content

Commit

Permalink
Update the cache action to v2 (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikc5000 authored Jun 25, 2020
1 parent 1b2d3ca commit 117da81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
uses: gradle/wrapper-validation-action@v1

- name: Cache Gradle
uses: actions/cache@v1
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Cache Konan
uses: actions/cache@v1
uses: actions/cache@v2
with:
path: ~/.konan
key: ${{ runner.os }}-konan-${{ hashFiles('buildSrc/build.gradle.kts') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
uses: gradle/wrapper-validation-action@v1

- name: Cache Gradle
uses: actions/cache@v1
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Cache Konan
uses: actions/cache@v1
uses: actions/cache@v2
with:
path: ~/.konan
key: ${{ runner.os }}-konan-${{ hashFiles('buildSrc/build.gradle.kts') }}
Expand Down

0 comments on commit 117da81

Please sign in to comment.