diff --git a/dist/index.js b/dist/index.js index bcece37..cba5875 100644 --- a/dist/index.js +++ b/dist/index.js @@ -82944,7 +82944,7 @@ async function run() { await setEnvVars(); await testMise(); if (core.getBooleanInput('install')) { - await rtxInstall(); + await miseInstall(); } } catch (err) { @@ -83028,7 +83028,7 @@ function getOS() { } } const testMise = async () => mise(['--version']); -const rtxInstall = async () => mise(['install']); +const miseInstall = async () => mise(['install']); const mise = async (args) => core.group(`Running mise ${args.join(' ')}`, async () => { const cwd = core.getInput('install_dir') || process.cwd(); return exec.exec('mise', args, { cwd }); diff --git a/src/index.ts b/src/index.ts index 02338d0..d0ff935 100644 --- a/src/index.ts +++ b/src/index.ts @@ -23,7 +23,7 @@ async function run(): Promise { await setEnvVars() await testMise() if (core.getBooleanInput('install')) { - await rtxInstall() + await miseInstall() } } catch (err) { if (err instanceof Error) core.setFailed(err.message) @@ -117,7 +117,7 @@ function getOS(): string { } const testMise = async (): Promise => mise(['--version']) -const rtxInstall = async (): Promise => mise(['install']) +const miseInstall = async (): Promise => mise(['install']) const mise = async (args: string[]): Promise => core.group(`Running mise ${args.join(' ')}`, async () => { const cwd = core.getInput('install_dir') || process.cwd()