Skip to content

Commit

Permalink
Merge pull request #307 from DroidKaigi/cache-konan
Browse files Browse the repository at this point in the history
Cache .konan to improve Kotlin/Native build times
  • Loading branch information
RyuNen344 authored Sep 9, 2022
2 parents 1a0acd3 + 30ac48d commit 47f0cf8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- uses: actions/cache@v2
with:
path: |
~/.konan
key: ${{ runner.os }}-kotlin-native-${{ hashFiles('gradle/libs.versions.toml', '**/*.gradle.kts') }}
restore-keys: |
${{ runner.os }}-kotlin-native-
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1

Expand Down

0 comments on commit 47f0cf8

Please sign in to comment.