Change cache key to make sense #162
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- name: Setup JDK | |
uses: actions/[email protected] | |
with: | |
java-version: 11 | |
- name: Cache build deps | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.gradle/wrapper | |
~/.konan/cache | |
~/.konan/dependencies | |
key: build-deps-${{ runner.os }}-${{ hashFiles('gradle/**', 'gradlew*', 'gradle.properties', '*.gradle*') }} | |
- name: Checkout source | |
uses: actions/checkout@v1 | |
- name: Build | |
run: ./gradlew build |