1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-node synced 2025-06-22 11:18:00 +02:00

Use custom 7zr

This commit is contained in:
Danny McCormick 2019-06-05 13:22:04 -04:00
parent d7b6952411
commit a78e5a55c8
8 changed files with 78 additions and 39 deletions

View file

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