From 79e0c0031eda2ec99d94fb088699c1b23d6ca4e9 Mon Sep 17 00:00:00 2001 From: Dogan Can Bakir <65292895+dogancanbakir@users.noreply.github.com> Date: Thu, 2 Nov 2023 11:26:50 +0300 Subject: [PATCH] change installation path to GITHUB_WORKSPACE (#68) --- src/installer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/installer.js b/src/installer.js index 66b61a7..aa01bfa 100644 --- a/src/installer.js +++ b/src/installer.js @@ -51,7 +51,7 @@ export async function downloadAndInstall(selectedVersion) { throw new Error(`Unable to download Nuclei from ${url}.`); } - const installDir = await tc.extractZip(downloadDir); + const installDir = await tc.extractZip(downloadDir, process.env.GITHUB_WORKSPACE); if (installDir == null) { throw new Error("Unable to extract Nuclei."); }