mirror of
https://github.com/actions/setup-node.git
synced 2025-12-16 01:51:49 +08:00
Use custom 7zr
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user