Skip to content

Commit 0f05c21

Browse files
committed
Try to set JAVA_VERSION env variable
1 parent d7c9b70 commit 0f05c21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/gradle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
path: |
3333
~/.gradle/caches
3434
~/.gradle/wrapper
35-
key: ${{ runner.os }}-$JAVA_VERSION-gradle-${{ hashFiles('**/*.gradle*') }}
35+
key: ${{ runner.os }}-${{ JAVA_VERSION }}-gradle-${{ hashFiles('**/*.gradle*') }}
3636
restore-keys: |
37-
${{ runner.os }}-$JAVA_VERSION-gradle-
37+
${{ runner.os }}-${{ JAVA_VERSION }}-gradle-
3838
- name: Make gradlew executable (non-Windows only)
3939
if: matrix.os != 'windows-latest'
4040
run: chmod +x ./gradlew

0 commit comments

Comments
 (0)