mirror of
https://github.com/actions/setup-node.git
synced 2025-07-25 16:08:25 +02:00
Use custom 7zr
This commit is contained in:
parent
d7b6952411
commit
a78e5a55c8
8 changed files with 78 additions and 39 deletions
|
@ -174,8 +174,8 @@ async function acquireNode(version: string): Promise<string> {
|
|||
//
|
||||
let extPath: string;
|
||||
if (osPlat == 'win32') {
|
||||
let _7zPath = path.join(__dirname, '7zr.exe');
|
||||
extPath = await tc.extract7z(downloadPath);
|
||||
let _7zPath = path.join(__dirname, '..', 'externals', '7zr.exe');
|
||||
extPath = await tc.extract7z(downloadPath, undefined, _7zPath);
|
||||
} else {
|
||||
extPath = await tc.extractTar(downloadPath);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue