From e277e12f467384d01d365fa08fa535301a436e42 Mon Sep 17 00:00:00 2001 From: Raj Saxena Date: Wed, 11 Mar 2020 14:34:42 +0100 Subject: [PATCH] Update for Kotlin DSL --- examples.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples.md b/examples.md index b21fda9..38ae335 100644 --- a/examples.md +++ b/examples.md @@ -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 ``` -## Java - Gradle +## Java/Kotlin - Gradle ```yaml - uses: actions/cache@v1 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} + # Use the following for kotlin DSL + # key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }} restore-keys: | ${{ runner.os }}-gradle- ```