mirror of
https://github.com/jdx/mise-action.git
synced 2026-05-14 22:00:34 +00:00
fix: rename "install_dir" config to "working_directory"
This fits in better with other actions
This commit is contained in:
parent
7d17151741
commit
4541e25ef8
5 changed files with 13 additions and 7 deletions
|
|
@ -129,7 +129,10 @@ const testMise = async (): Promise<number> => mise(['--version'])
|
|||
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()
|
||||
const cwd =
|
||||
core.getInput('working_directory') ||
|
||||
core.getInput('install_dir') ||
|
||||
process.cwd()
|
||||
return exec.exec('mise', args, { cwd })
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue