[#439] GitHub Cache action v3
This commit is contained in:
parent
5ab1d0b26e
commit
97285fb031
|
@ -24,13 +24,13 @@ runs:
|
||||||
echo "org.gradle.daemon=false" >> ~/.gradle/gradle.properties
|
echo "org.gradle.daemon=false" >> ~/.gradle/gradle.properties
|
||||||
- name: Gradle Wrapper Cache
|
- name: Gradle Wrapper Cache
|
||||||
id: gradle-wrapper-cache
|
id: gradle-wrapper-cache
|
||||||
uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed
|
uses: actions/cache@4b0cf6cc4619e737324ddfcec08fff2413359514
|
||||||
with:
|
with:
|
||||||
path: ~/.gradle/wrapper
|
path: ~/.gradle/wrapper
|
||||||
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles(format('{0}{1}', github.workspace, '/gradle/wrapper/gradle-wrapper.properties')) }}
|
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles(format('{0}{1}', github.workspace, '/gradle/wrapper/gradle-wrapper.properties')) }}
|
||||||
- name: Gradle Dependency Cache
|
- name: Gradle Dependency Cache
|
||||||
id: gradle-dependency-cache
|
id: gradle-dependency-cache
|
||||||
uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed
|
uses: actions/cache@4b0cf6cc4619e737324ddfcec08fff2413359514
|
||||||
with:
|
with:
|
||||||
path: ~/.gradle/caches/modules-2
|
path: ~/.gradle/caches/modules-2
|
||||||
key: ${{ runner.os }}-gradle-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/gradle.properties')) }}
|
key: ${{ runner.os }}-gradle-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/gradle.properties')) }}
|
||||||
|
@ -41,7 +41,7 @@ runs:
|
||||||
- name: Gradle Build Cache Main
|
- name: Gradle Build Cache Main
|
||||||
id: gradle-build-cache-main
|
id: gradle-build-cache-main
|
||||||
if: github.event.pull_request.head.sha == ''
|
if: github.event.pull_request.head.sha == ''
|
||||||
uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed
|
uses: actions/cache@4b0cf6cc4619e737324ddfcec08fff2413359514
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.gradle/caches/build-cache-1
|
~/.gradle/caches/build-cache-1
|
||||||
|
@ -52,7 +52,7 @@ runs:
|
||||||
- name: Gradle Build Cache Pull Request
|
- name: Gradle Build Cache Pull Request
|
||||||
id: gradle-build-cache-pr
|
id: gradle-build-cache-pr
|
||||||
if: github.event.pull_request.head.sha != ''
|
if: github.event.pull_request.head.sha != ''
|
||||||
uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed
|
uses: actions/cache@4b0cf6cc4619e737324ddfcec08fff2413359514
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.gradle/caches/build-cache-1
|
~/.gradle/caches/build-cache-1
|
||||||
|
@ -62,7 +62,7 @@ runs:
|
||||||
${{ runner.os }}-gradle-build
|
${{ runner.os }}-gradle-build
|
||||||
- name: Rust Cache
|
- name: Rust Cache
|
||||||
id: rust-cache
|
id: rust-cache
|
||||||
uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed
|
uses: actions/cache@4b0cf6cc4619e737324ddfcec08fff2413359514
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
sdk-lib/target
|
sdk-lib/target
|
||||||
|
|
Loading…
Reference in New Issue