Skip to content

Commit

Permalink
Restore Konan caching (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikc5000 committed May 9, 2023
1 parent 3df830c commit d615543
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/maven-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ jobs:
- name: Configure Gradle
uses: gradle/gradle-build-action@v2

- name: Cache Konan
uses: actions/cache@v3
with:
path: ~/.konan
key: ${{ runner.os }}-konan-${{ hashFiles('**/libs.versions.toml') }}
restore-keys: |
${{ runner.os }}-konan-
- name: Publish
env:
ORG_GRADLE_PROJECT_repositoryUsername: ${{ secrets.ORG_GRADLE_PROJECT_repositoryUsername }}
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ jobs:
- name: Configure Gradle
uses: gradle/gradle-build-action@v2

- name: Cache Konan
uses: actions/cache@v3
with:
path: ~/.konan
key: ${{ runner.os }}-konan-${{ hashFiles('**/libs.versions.toml') }}
restore-keys: |
${{ runner.os }}-konan-
- name: Build and test
uses: reactivecircus/android-emulator-runner@v2
with:
Expand Down

0 comments on commit d615543

Please sign in to comment.