graalvm / setup-graalvm

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

Action fails with "Could not find latest GraalVM release: jdk-20.0.1" when run with `version: 'latest'` #43

Closed turing85 closed 1 year ago

turing85 commented 1 year ago

Executing the action with:

      - uses: graalvm/setup-graalvm@v1
        with:
          version: 'latest'

Results in the error:

Error: Could not find latest GraalVM release: jdk-20.0.1

(see e.g. here)

This seems to be caused by

https://github.com/graalvm/graalvm-ce-builds/releases/latest

redirecting to

https://github.com/graalvm/graalvm-ce-builds/releases/tag/jdk-20.0.1 (tag jdk-20.0.1),

and graalvm.ts explicitly checking that the tag starts with prefix vm- (which it currently does not).

guizmaii commented 1 year ago

Same issue here

turing85 commented 1 year ago

duplicate of #42