chore: fetch mise compressed

This commit is contained in:
Jeff Dickey 2024-10-27 20:20:20 -05:00
parent c20c9ebb8b
commit 86b003e69f
No known key found for this signature in database
GPG key ID: 584DADE86724B407
3 changed files with 15 additions and 3 deletions

8
dist/index.js generated vendored
View file

@ -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

File diff suppressed because one or more lines are too long

View file

@ -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])
}
}