Skip to content

Commit 369685f

Browse files
committed
#33: Fixing GHA cache definition to use pom.xml in order to prevent SDKMAN installation errors.
1 parent 095eb05 commit 369685f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/native-image-compile.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
uses: actions/cache@v2
1414
with:
1515
path: ~/.sdkman
16-
key: ${{ runner.os }}-sdkman-${{ hashFiles('pom.xml') }}
16+
key: ${{ runner.os }}-sdkman-${{ hashFiles('**/pom.xml') }}
1717
restore-keys: |
1818
${{ runner.os }}-sdkman-
1919
@@ -22,7 +22,7 @@ jobs:
2222
echo 'Install GraalVM with SDKMAN'
2323
curl -s "https://get.sdkman.io" | bash
2424
source "$HOME/.sdkman/bin/sdkman-init.sh"
25-
sdk install java 20.3.1.2.r11-grl < /dev/null
25+
sdk install java 20.3.1.2.r11-grl
2626
2727
echo 'Check if GraalVM was installed successfully'
2828
java -version

0 commit comments

Comments
 (0)