Merge pull request #30 from WhosNickDoglio/ndoglio/kotlin-build-ignore #199
This file contains hidden or 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: 17 | |
| - name: Checkout source | |
| uses: actions/checkout@v4 | |
| - 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: Build | |
| run: ./gradlew build |