Cache ~/.konan directory in publish workflow

This commit is contained in:
Michael Bull 2022-01-08 14:15:25 +00:00
parent cf109812a2
commit fd1b414ef7

View File

@ -66,6 +66,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