Git Product home page Git Product logo

setup-graalvm's Introduction

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's People

Contributors

ayltai avatar dependabot[bot] avatar snyk-bot avatar palek avatar heikobornholdt avatar matteobaccan avatar dependabot-preview[bot] avatar funbiscuit avatar

Stargazers

 avatar 佳瑶 avatar Suresh avatar Damir Murat avatar Dainius Jocas avatar Oliver Weiler avatar Geoffroy Jamgotchian avatar Radosław Waśko avatar Shawn Charles avatar Benoit Daloze avatar Steven Jenkins De Haro avatar Damien O'Reilly avatar

Watchers

James Cloos avatar  avatar  avatar

setup-graalvm's Issues

Usage of deprecated Actions version

The @actions/core version 1.2.4 uses deprecated methods to set environment variables.

As I can see, the dependabot has automatically updated this and the PR has been merged, but since no release was made, it is not picked up automatically on users' CI.

On the 16th of November the old mechanism will be turned off, hence actions using this one as dependency will stop working. Can we ask for an updated release of this action?

The Action seems to fail on macOS

Describe the bug
The action fails with insufficient permissions on macOS.

To Reproduce
Steps to reproduce the behavior:

  1. Create a GitHub Actions workflow with a job that contains a following step:
- name: Setup GraalVM Environment
  uses: ayltai/setup-graalvm@v1
  with:
    graalvm-version: 20.1.0
    java-version: 11
    native-image: true

that runs on macOS-latest.

Expected behavior
The action succeeds and prepares an environment with GraalVM. Like it does on Linux and Windows.

Screenshots
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.