2024 01 18 fix native image build (#5357)

* Try specifying graalvm download url to fetch modern native image

try explicitly stating version #

Add tgz+

try using simple OS to get thigns working

Try runner.os

* Add comment for where to find new jdks in the future
This commit is contained in:
Chris Stewart 2024-01-18 17:16:53 -06:00 committed by GitHub
parent 1ad2778ab2
commit a7b67fc78d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,8 @@ jobs:
fetch-depth: 0
- uses: olafurpg/setup-scala@v13
with:
java-version: openjdk@1.17.0
# from https://github.com/graalvm/graalvm-ce-builds/releases
java-version: graalvm@21.0.2=tgz+https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-21.0.2/graalvm-community-jdk-21.0.2_${{runner.os}}-x64_bin.tar.gz
- run: git fetch --tags || true
- run: sbt cli/nativeImage
shell: bash