|
|
@ -98,13 +98,15 @@ We cache the elements of the Cabal store separately, as the entirety of `~/.caba
|
|
|
|
key: ${{ runner.os }}-${{ matrix.ghc }}-dist-newstyle
|
|
|
|
key: ${{ runner.os }}-${{ matrix.ghc }}-dist-newstyle
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Java - Gradle
|
|
|
|
## Java/Kotlin - Gradle
|
|
|
|
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
```yaml
|
|
|
|
- uses: actions/cache@v1
|
|
|
|
- uses: actions/cache@v1
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: ~/.gradle/caches
|
|
|
|
path: ~/.gradle/caches
|
|
|
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
|
|
|
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
|
|
|
|
|
|
|
|
# Use the following for kotlin DSL
|
|
|
|
|
|
|
|
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}
|
|
|
|
restore-keys: |
|
|
|
|
restore-keys: |
|
|
|
|
${{ runner.os }}-gradle-
|
|
|
|
${{ runner.os }}-gradle-
|
|
|
|
```
|
|
|
|
```
|
|
|
|