From e3e780bc433f5c0b396040f085d6e88605e49b6c Mon Sep 17 00:00:00 2001 From: Oleg Date: Sun, 23 Jun 2024 15:00:11 +0400 Subject: [PATCH] Add konan caching to main workflow --- .github/workflows/build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6384ad41..42fc9239 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -57,6 +57,14 @@ jobs: - name: Setup Gradle uses: gradle/gradle-build-action@v3.4.2 + - name: Cache konan dependencies + uses: actions/cache@v4 + with: + path: ~/.konan + key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }} + restore-keys: | + ${{ runner.os }}-gradle- + - name: Build run: ./gradlew assemble