Skip to content

Commit

Permalink
Switch from GraalVM to GraalVM Community for native image build.
Browse files Browse the repository at this point in the history
- Bump setup-graalvm to 1.2.5

Signed-off-by: Roland Grunberg <[email protected]>
  • Loading branch information
rgrunber authored and datho7561 committed Nov 5, 2024
1 parent 7bf742f commit e83ec1d
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/native-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
runs-on: ${{ matrix.os }}
needs: setup-xml-version
env:
GRAALVM_DISTRO: graalvm
GRAALVM_DISTRO: graalvm-community
GRAALVM_JAVA: 17
strategy:
fail-fast: true
Expand Down Expand Up @@ -57,12 +57,12 @@
uses: actions/cache@v4
with:
path: |
/opt/hostedtoolcache/graalvm-jdk-*
~/hostedtoolcache/graalvm-jdk-*
key: ${{ runner.os }}-graalvm-jdk-${{ env.GRAALVM_JAVA }}
/opt/hostedtoolcache/${{env.GRAALVM_DISTRO}}-jdk-*
~/hostedtoolcache/${{env.GRAALVM_DISTRO}}-jdk-*
key: ${{ runner.os }}-${{env.GRAALVM_DISTRO}}-jdk-${{ env.GRAALVM_JAVA }}
restore-keys: |
${{ runner.os }}-graalvm-jdk-
- uses: graalvm/setup-graalvm@a1b47fdf04e772fed6b3b46131e226f9aea5e169 #v1.1.6
${{ runner.os }}-${{env.GRAALVM_DISTRO}}-jdk-
- uses: graalvm/setup-graalvm@557ffcf459751b4d92319ee255bf3bec9b73964c #v1.2.5
with:
distribution: ${{env.GRAALVM_DISTRO}}
java-version: ${{env.GRAALVM_JAVA}}
Expand All @@ -77,7 +77,7 @@
runs-on: windows-latest
needs: setup-xml-version
env:
GRAALVM_DISTRO: graalvm
GRAALVM_DISTRO: graalvm-community
GRAALVM_JAVA: 17
steps:
- name: Check out LemMinX
Expand All @@ -99,12 +99,12 @@
uses: actions/cache@v4
with:
path: |
C:\hostedtoolcache\windows\graalvm-ce-*
key: ${{ runner.os }}-graalvm-*
C:\hostedtoolcache\windows\${{env.GRAALVM_DISTRO}}-*
key: ${{ runner.os }}-${{env.GRAALVM_DISTRO}}-jdk-${{ env.GRAALVM_JAVA }}
restore-keys: |
${{ runner.os }}-graalvm-
${{ runner.os }}-${{env.GRAALVM_DISTRO}}-jdk-
- uses: ilammy/msvc-dev-cmd@7315a94840631165970262a99c72cfb48a65d25d #v1.12.0
- uses: graalvm/setup-graalvm@a1b47fdf04e772fed6b3b46131e226f9aea5e169 #v1.1.6
- uses: graalvm/setup-graalvm@557ffcf459751b4d92319ee255bf3bec9b73964c #v1.2.5
with:
distribution: ${{env.GRAALVM_DISTRO}}
java-version: ${{env.GRAALVM_JAVA}}
Expand Down

0 comments on commit e83ec1d

Please sign in to comment.