Support new GraalVM dev artifact names.

They omit the Java version and have `-dev` earlier for consistency with other artifacts.

Example:
- old: `graalvm-community-java26-linux-amd64-dev.tar.gz`
- new: `graalvm-community-dev-linux-amd64.tar.gz`
This commit is contained in:
Danilo Ansaloni
2025-11-24 13:53:47 +01:00
committed by Fabio Niephaus
parent cfa19cdd20
commit ad3c25e809
3 changed files with 20 additions and 9 deletions

View File

@@ -76,7 +76,7 @@ test('find version/javaVersion', async () => {
}
error = err
}
expect(error.message).toContain('Could not find highest Java version.')
expect(error.message).toContain('Could not find latest GraalVM release:')
})
test('find EA version/javaVersion', async () => {