Install native image
@@ -12,12 +12,14 @@ jobs:
GRAAL_VERSION: 20.0.0
GRAAL_OS: darwin-amd64
run: ./install-graal.sh
+ - name: Install Native Image
+ run: ./graalvm/Contents/Home/bin/gu install native-image
- name: Build the JAR
env:
JAVA_HOME: ./graalvm/Contents/Home
run: ./gradlew clean starter-cli:shadowJar --no-daemon
- name: Build Native Image
- run: graalvm/Contents/Home/bin/native-image --no-fallback --no-server -cp starter-cli/build/libs/starter-cli-*-all.jar
+ run: ./graalvm/Contents/Home/bin/native-image --no-fallback --no-server -cp starter-cli/build/libs/starter-cli-*-all.jar
- name: Upload Snapshot
uses: actions/upload-artifact@v1
with:
