From fd1b414ef70e61492803727de49a6b615fdadf1f Mon Sep 17 00:00:00 2001 From: Michael Bull Date: Sat, 8 Jan 2022 14:15:25 +0000 Subject: [PATCH] Cache ~/.konan directory in publish workflow --- .github/workflows/ci.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1699556..8b2eebe 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -66,6 +66,13 @@ jobs: steps: - 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 with: path: ~/.gradle/wrapper