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