Cache ~/.konan on CI
See: https://kotlinlang.org/docs/native-improving-compilation-time.html#general-recommendations
This commit is contained in:
parent
0ded6905c3
commit
b3f1edc369
7
.github/workflows/ci.yaml
vendored
7
.github/workflows/ci.yaml
vendored
@ -13,6 +13,13 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- uses: actions/cache@v1
|
||||||
|
with:
|
||||||
|
path: ~/.konan
|
||||||
|
key: ${{ runner.os }}-konan-${{ hashFiles('**/*.gradle.kts') }}-${{ hashFiles('buildSrc/src/main/kotlin/Versions.kt') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-konan-
|
||||||
|
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.gradle/wrapper
|
path: ~/.gradle/wrapper
|
||||||
|
Loading…
Reference in New Issue
Block a user