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