Skip to content
This repository has been archived by the owner on Apr 2, 2023. It is now read-only.

Commit

Permalink
Use different GHA step for GraalVM installation (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzou authored Sep 9, 2021
1 parent bee18ba commit 2bb4f71
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ jobs:
- uses: actions/checkout@v2

- name: Set up GraalVM Compiler
uses: rinx/setup-graalvm[email protected]
uses: DeLaGuardo/setup-graalvm@4.0
with:
graalvm-version: "21.2.0"
java-version: "java11"
native-image: "true"
graalvm: '21.2.0'
java: 'java11'
arch: 'amd64'

- uses: actions/cache@v1
with:
Expand All @@ -77,6 +77,7 @@ jobs:

- name: Native Image Compile
run: |
gu install native-image
mvn clean install -B -q
mvn package -P native -B --file google-cloud-graalvm-samples/graalvm-samples-client-library/pubsub-sample
Expand Down

0 comments on commit 2bb4f71

Please sign in to comment.