mirror of
https://github.com/jdx/mise-action.git
synced 2026-05-14 22:00:34 +00:00
Add install option to skip rtx install (#146)
This commit is contained in:
parent
0e1fc71c4a
commit
50bd58fbe0
4 changed files with 13 additions and 3 deletions
|
|
@ -13,7 +13,10 @@ async function run(): Promise<void> {
|
|||
await setupRTX()
|
||||
await setEnvVars()
|
||||
await exec.exec('rtx', ['--version'])
|
||||
await exec.exec('rtx', ['install'])
|
||||
const install = core.getBooleanInput('install', {required: false})
|
||||
if (install) {
|
||||
await exec.exec('rtx', ['install'])
|
||||
}
|
||||
await setPaths()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue