[#487] GitHub Cache Action 3.0.2

This commit is contained in:
Carter Jernigan 2022-04-12 07:42:01 -04:00 committed by Carter Jernigan
parent 4ffee4f59c
commit 6c505e7ab7
1 changed files with 5 additions and 5 deletions

View File

@ -24,13 +24,13 @@ runs:
echo "org.gradle.daemon=false" >> ~/.gradle/gradle.properties
- name: Gradle Wrapper Cache
id: gradle-wrapper-cache
uses: actions/cache@136d96b4aee02b1f0de3ba493b1d47135042d9c0
uses: actions/cache@48af2dc4a9e8278b89d7fa154b955c30c6aaab09
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles(format('{0}{1}', github.workspace, '/gradle/wrapper/gradle-wrapper.properties')) }}
- name: Gradle Dependency Cache
id: gradle-dependency-cache
uses: actions/cache@136d96b4aee02b1f0de3ba493b1d47135042d9c0
uses: actions/cache@48af2dc4a9e8278b89d7fa154b955c30c6aaab09
with:
path: ~/.gradle/caches/modules-2
key: ${{ runner.os }}-gradle-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/gradle.properties')) }}
@ -41,7 +41,7 @@ runs:
- name: Gradle Build Cache Main
id: gradle-build-cache-main
if: github.event.pull_request.head.sha == ''
uses: actions/cache@136d96b4aee02b1f0de3ba493b1d47135042d9c0
uses: actions/cache@48af2dc4a9e8278b89d7fa154b955c30c6aaab09
with:
path: |
~/.gradle/caches/build-cache-1
@ -52,7 +52,7 @@ runs:
- name: Gradle Build Cache Pull Request
id: gradle-build-cache-pr
if: github.event.pull_request.head.sha != ''
uses: actions/cache@136d96b4aee02b1f0de3ba493b1d47135042d9c0
uses: actions/cache@48af2dc4a9e8278b89d7fa154b955c30c6aaab09
with:
path: |
~/.gradle/caches/build-cache-1
@ -62,7 +62,7 @@ runs:
${{ runner.os }}-gradle-build
- name: Rust Cache
id: rust-cache
uses: actions/cache@136d96b4aee02b1f0de3ba493b1d47135042d9c0
uses: actions/cache@48af2dc4a9e8278b89d7fa154b955c30c6aaab09
with:
path: |
sdk-lib/target