mirror of
https://github.com/graalvm/setup-graalvm.git
synced 2025-01-31 11:17:10 +08:00
Add missing break
statement (fixes #54).
This commit is contained in:
parent
d189178615
commit
c569e64c0b
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
@ -207,6 +207,7 @@ jobs:
|
|||||||
[[ "$GRAALVM_HOME" == *"$RUNNER_TOOL_CACHE"* ]] || exit 12
|
[[ "$GRAALVM_HOME" == *"$RUNNER_TOOL_CACHE"* ]] || exit 12
|
||||||
echo "JAVA_HOME: $JAVA_HOME"
|
echo "JAVA_HOME: $JAVA_HOME"
|
||||||
java --version
|
java --version
|
||||||
|
java --version | grep "Temurin" || exit 23
|
||||||
native-image --version
|
native-image --version
|
||||||
if: runner.os != 'Windows'
|
if: runner.os != 'Windows'
|
||||||
- name: Check Windows environment
|
- name: Check Windows environment
|
||||||
|
1
dist/main/index.js
generated
vendored
1
dist/main/index.js
generated
vendored
@ -71349,6 +71349,7 @@ function run() {
|
|||||||
else {
|
else {
|
||||||
throw new Error(`Mandrel requires the 'version' option (see https://github.com/graalvm/setup-graalvm/tree/main#options).`);
|
throw new Error(`Mandrel requires the 'version' option (see https://github.com/graalvm/setup-graalvm/tree/main#options).`);
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case '':
|
case '':
|
||||||
if (javaVersion === c.VERSION_DEV) {
|
if (javaVersion === c.VERSION_DEV) {
|
||||||
core.info(`This build is using GraalVM Community Edition. To select a specific distribution, use the 'distribution' option (see https://github.com/graalvm/setup-graalvm/tree/main#options).`);
|
core.info(`This build is using GraalVM Community Edition. To select a specific distribution, use the 'distribution' option (see https://github.com/graalvm/setup-graalvm/tree/main#options).`);
|
||||||
|
@ -58,6 +58,7 @@ async function run(): Promise<void> {
|
|||||||
`Mandrel requires the 'version' option (see https://github.com/graalvm/setup-graalvm/tree/main#options).`
|
`Mandrel requires the 'version' option (see https://github.com/graalvm/setup-graalvm/tree/main#options).`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
break
|
||||||
case '':
|
case '':
|
||||||
if (javaVersion === c.VERSION_DEV) {
|
if (javaVersion === c.VERSION_DEV) {
|
||||||
core.info(
|
core.info(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user