Add another level to tempBinPath

This commit is contained in:
Michael B. Gale
2023-10-04 20:03:32 +01:00
parent bb70bab648
commit 68d0b65ee5
3 changed files with 7 additions and 3 deletions

View File

@@ -348,7 +348,11 @@ async function run() {
logger.debug(`Applying static binary workaround for Go`);
// Create a directory that we can add to the system PATH.
const tempBinPath = path.resolve(getTemporaryDirectory(), "bin");
const tempBinPath = path.resolve(
getTemporaryDirectory(),
"codeql-action-go-tracing",
"bin",
);
fs.mkdirSync(tempBinPath, { recursive: true });
core.addPath(tempBinPath);