graalvm / setup-graalvm

GitHub Action for setting up GraalVM distributions.
https://www.graalvm.org
Universal Permissive License v1.0
195 stars 28 forks source link

New Version #96

Closed MohamedHeba closed 4 months ago

MohamedHeba commented 5 months ago

Hi everyone, Is it possible to add new GraalVM versions 22.3.4 and 22.3.5?

fniephaus commented 5 months ago

Hi @MohamedHeba, Thanks for the request! The versions you mentioned are for GraalVM Enterprise Edition, which is released under the OTN license. If you run the following in a bash terminal, you can accept the license and generate a GDS (GraalVM Download Service) token:

$ bash <(curl -sL https://get.graalvm.org/ee-token)

You can then store that token in a GitHub secret and use it like so:

      - uses: graalvm/setup-graalvm@v1
        with:
          version: '22.3.5'
          gds-token: ${{ secrets.GDS_TOKEN }}
          java-version: '17'
          components: 'native-image'
          github-token: ${{ secrets.GITHUB_TOKEN }}

I haven't verified this works myself. If you run into any problems, please let me know and we can take a look.

Hope this helps!

-- Fabio