From 9bb45741b032a98677580a65204c0dbc9d2cbb53 Mon Sep 17 00:00:00 2001 From: TSR Berry <20988865+TSRBerry@users.noreply.github.com> Date: Sat, 5 Nov 2022 03:38:27 +0100 Subject: [PATCH] gha: Fix 7zip extraction arguments --- .github/workflows/Nuget-publishing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Nuget-publishing.yml b/.github/workflows/Nuget-publishing.yml index 420a7026..604dc778 100644 --- a/.github/workflows/Nuget-publishing.yml +++ b/.github/workflows/Nuget-publishing.yml @@ -107,7 +107,7 @@ jobs: console.log(`Unzipping: /tmp/${artifact.name}.zip`); await exec.exec("unzip", [`/tmp/${artifact.name}.zip`]); console.log(`Extracting library from 7z file to: ${destDir}${sourceFile}`); - await exec.exec("7z", ["e", "-o", destDir, `/tmp/${artifact.name}`, `${sourceDir}${sourceFile}`], options); + await exec.exec("7z", ["e", `-o${destDir}`, `/tmp/${artifact.name}`, `${sourceDir}${sourceFile}`], options); if (sourceFile != destFile) { console.log(`Renaming library to: ${destFile}`); await exec.exec("mv", [`${destDir}/${sourceFile}`, `${destDir}/${destFile}`], options);