Skip to content

Commit

Permalink
Update GraalVM version in GH Actions
Browse files Browse the repository at this point in the history
Signed-off-by: Fred Bricon <fbricon@gmail.com>
  • Loading branch information
fbricon committed Jan 14, 2021
1 parent a2cb245 commit ee4950e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/native-image.yaml
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v2
- uses: DeLaGuardo/setup-graalvm@8bbfe44ef9c6f5c07e5af036a1bffd561c037d18
with:
graalvm-version: '20.2.0.java8'
graalvm-version: '20.3.0.java8'
- run: ./mvnw package -Dnative -DskipTests $([ $(uname -s) = Linux ] && echo "-Dgraalvm.static=--static") -Dcbi.jarsigner.skip=true
- run: mv org.eclipse.lemminx/target/lemminx-* lemminx-$(git rev-parse --short "$GITHUB_SHA")-${{ matrix.label }}
- uses: actions/upload-artifact@v2
Expand All @@ -31,7 +31,7 @@ jobs:
- uses: ilammy/msvc-dev-cmd@v1.4.1
- uses: DeLaGuardo/setup-graalvm@8bbfe44ef9c6f5c07e5af036a1bffd561c037d18
with:
graalvm-version: '20.2.0.java11'
graalvm-version: '20.3.0.java11'
- run: Invoke-Expression -Command "$Env:JAVA_HOME/bin/gu install native-image"
- run: .\mvnw.cmd package -Dnative -DskipTests -D cbi.jarsigner.skip=true
- run: mv org.eclipse.lemminx\target\lemminx-*.exe lemminx-$(git rev-parse --short "$Env:GITHUB_SHA")-win32.exe
Expand Down
3 changes: 2 additions & 1 deletion org.eclipse.lemminx/pom.xml
Expand Up @@ -168,7 +168,8 @@
<imageName>lemminx-${os.detected.classifier}-${project.version}</imageName>
<buildArgs>
--no-fallback
-H:EnableURLProtocols=https,http
--enable-http
--enable-https
${graalvm.static}
</buildArgs>
</configuration>
Expand Down

0 comments on commit ee4950e

Please sign in to comment.