Skip to content

Commit

Permalink
Update action to latest graalvm release (#7)
Browse files Browse the repository at this point in the history
* Update action to latest graalvm release

* fix path
  • Loading branch information
jperedadnr authored Sep 4, 2024
1 parent c411e56 commit e373ec8
Show file tree
Hide file tree
Showing 4 changed files with 139 additions and 111 deletions.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,23 @@ steps:
with:
# GraalVM version. Default: latest
graalvm: '22.1.0.1-Final'
# Java version. Since GraalVM 22, either java11 or java17, before GraalVM 22, empty. Default: java17
jdk: 'java17'
# Architecture flag. Available options are 'x86_64' (default) and 'aarch64'. The latter is available only for M1 self-hosted runners since GraalVM 22.1.
# Java version. Since GraalVM 22, either java11, java17 or java23. Before GraalVM 22, empty. Default: java23
jdk: 'java23'
# Architecture flag. Available options are 'x86_64' (default) and 'aarch64'. The latter is available for M1 runners starting GraalVM 22.1.
arch: 'x86_64'
- run: java -version
```
# License
The scripts and documentation in this project are released under the [MIT License](LICENSE)
# Developers
To build the action locally, run the following:
```
nmp install
npm i -g @vercel/ncc
ncc build src/setup-graalvm.ts -o dist
```
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ inputs:
description: 'The GraalVM version built by Gluon, defaults to latest'
default: 'latest'
jdk:
description: 'The JDK version used to build the GraalVM version. Possible values: java17 (default) or java11, if GraalVM is 22+, else empty'
default: 'java17'
description: 'The JDK version used to build the GraalVM version. Possible values: java23 (default), java17 or java11, if GraalVM is 22+. For lower, it should be empty'
default: 'java23'
arch:
description: 'Architecture flag. Possible values: x86_64 (default) and aarch64. The latter is available only for M1 self-hosted runners and GraalVM 22.1+'
description: 'Architecture flag. Possible values: x86_64 (default) and aarch64. The latter is available for M1 runners and GraalVM 22.1+'
default: 'x86_64'
runs:
using: 'node20'
Expand Down
Loading

0 comments on commit e373ec8

Please sign in to comment.