Skip to content

Setup GraalVM action

Actions
Set up a specific version of GraalVM and add the command line tools to PATH
v1
Latest
Star (13)

GraalVM GitHub action

GitHub workflow status Code Quality Sonar Quality Gate Sonar Violations (short format) Code Coverage Sonar Coverage Maintainability Rating Reliability Rating Sonar Tech Debt Security Rating Vulnerabilities Maintenance Release License

This action sets up a GraalVM environment for use in GitHub Actions by:

  • downloading and caching a requested version of GraalVM and adding to PATH
  • optionally downloading GraalVM Native Image
  • registering problem matchers for error output

Buy me a coffee

Usage

See action.yaml

Basic

steps:
  - uses: actions/checkout@v2
  - uses: ayltai/setup-graalvm@v1
    with:
      java-version: 11
      graalvm-version: 21.1.0
      native-image: true
  - run: java -version

Configuration

Property Required Default Description
java-version Yes A major Java version. Only 8, 11 and 16 (targeting GraalVM v21.1.0) are supported.
graalvm-version Yes A GraalVM release. Supported values are 21.2.0, 21.1.0, 21.0.0.2, 21.0.0, 20.3.2, 20.3.1.2, 20.3.1, 20.3.0, 20.2.0, 20.1.0, 20.0.1, 20.0.0, 19.3.2, 19.3.1, 19.3.0.2 and 19.3.0. See GraalVM releases
native-image No false true to download GraalVM native-image.

Spring Boot applications

If you are building Spring Boot applications with GraalVM or GraalVM native image, you may consider using Spring GraalVM Native Gradle plugin.

License

MIT

References

Setup GraalVM action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Set up a specific version of GraalVM and add the command line tools to PATH
v1
Latest

Setup GraalVM action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.