gluonhq / setup-graalvm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

setup-graalvm

This action sets up the GraalVM built by Gluon environment for using in GitHub Actions.

  • It downloads (if it is not cached yet) required version of Gluon's build of GraalVM Community edition
  • Adds executors provided by GraalVM distribution to the environment
  • Register problem matchers for error output

Usage

steps:
- uses: actions/checkout@latest
- uses: gluonhq/setup-graalvm@master
  # set GITHUB_TOKEN to avoid exceeding GitHub's API rate limit
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  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.
    arch: 'x86_64'
- run: java -version

License

The scripts and documentation in this project are released under the MIT License

About

License:MIT License


Languages

Language:JavaScript 61.2%Language:TypeScript 38.8%