mirror of
https://github.com/jdx/mise-action.git
synced 2026-05-14 22:00:34 +00:00
rename rtx -> mise
This commit is contained in:
parent
f055f78b94
commit
a05bde45a6
2 changed files with 4 additions and 4 deletions
|
|
@ -23,7 +23,7 @@ async function run(): Promise<void> {
|
|||
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<number> => mise(['--version'])
|
||||
const rtxInstall = async (): Promise<number> => mise(['install'])
|
||||
const miseInstall = async (): Promise<number> => mise(['install'])
|
||||
const mise = async (args: string[]): Promise<number> =>
|
||||
core.group(`Running mise ${args.join(' ')}`, async () => {
|
||||
const cwd = core.getInput('install_dir') || process.cwd()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue