diff --git a/dist/main/index.js b/dist/main/index.js index 097f4d3..e9d0fa5 100644 --- a/dist/main/index.js +++ b/dist/main/index.js @@ -71158,6 +71158,7 @@ function run() { core.info(`This build is using the new Oracle GraalVM. To select a specific distribution, use the 'distribution' option (see https://github.com/graalvm/setup-graalvm/tree/main#options).`); graalVMHome = yield graalvm.setUpGraalVMJDK(javaVersion); } + break; default: throw new Error(`Unsupported distribution: ${distribution}`); } diff --git a/src/main.ts b/src/main.ts index 7c1cbd3..3e9e177 100644 --- a/src/main.ts +++ b/src/main.ts @@ -66,6 +66,7 @@ async function run(): Promise { ) graalVMHome = await graalvm.setUpGraalVMJDK(javaVersion) } + break default: throw new Error(`Unsupported distribution: ${distribution}`) }