chore: fetch mise compressed
This commit is contained in:
parent
c20c9ebb8b
commit
86b003e69f
3 changed files with 15 additions and 3 deletions
8
dist/index.js
generated
vendored
8
dist/index.js
generated
vendored
|
@ -62544,7 +62544,13 @@ async function setupMise(version) {
|
|||
await io.mv(path.join(os.tmpdir(), 'mise/bin/mise.exe'), miseBinPath);
|
||||
}
|
||||
else {
|
||||
await exec.exec('curl', ['-fsSL', url, '--output', miseBinPath]);
|
||||
await exec.exec('curl', [
|
||||
'--compressed',
|
||||
'-fsSL',
|
||||
url,
|
||||
'--output',
|
||||
miseBinPath
|
||||
]);
|
||||
await exec.exec('chmod', ['+x', miseBinPath]);
|
||||
}
|
||||
}
|
||||
|
|
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
|
@ -133,7 +133,13 @@ async function setupMise(version: string): Promise<void> {
|
|||
await exec.exec('unzip', [zipPath, '-d', os.tmpdir()])
|
||||
await io.mv(path.join(os.tmpdir(), 'mise/bin/mise.exe'), miseBinPath)
|
||||
} else {
|
||||
await exec.exec('curl', ['-fsSL', url, '--output', miseBinPath])
|
||||
await exec.exec('curl', [
|
||||
'--compressed',
|
||||
'-fsSL',
|
||||
url,
|
||||
'--output',
|
||||
miseBinPath
|
||||
])
|
||||
await exec.exec('chmod', ['+x', miseBinPath])
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue