Fix lexer and parser build cache misses #1473
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: Test | |
on: | |
push: | |
branches: ['*'] | |
pull_request: | |
branches: ['*'] | |
jobs: | |
build: | |
name: Build | |
strategy: | |
matrix: | |
os: | |
- 'ubuntu-latest' | |
- 'macos-latest' | |
- 'windows-latest' | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: | | |
11 | |
17 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/jdks | |
~/.gradle/native | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', 'gradle/**', 'gradle.properties') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- run: ./gradlew build --no-daemon --stacktrace |