mirror of
https://github.com/github/codeql-action
synced 2026-05-25 15:00:36 +03:00
Add another level to tempBinPath
This commit is contained in:
Generated
+1
-1
@@ -183,7 +183,7 @@ async function run() {
|
||||
if (fileOutput.includes("statically linked")) {
|
||||
logger.debug(`Applying static binary workaround for Go`);
|
||||
// Create a directory that we can add to the system PATH.
|
||||
const tempBinPath = path.resolve((0, actions_util_1.getTemporaryDirectory)(), "bin");
|
||||
const tempBinPath = path.resolve((0, actions_util_1.getTemporaryDirectory)(), "codeql-action-go-tracing", "bin");
|
||||
fs.mkdirSync(tempBinPath, { recursive: true });
|
||||
core.addPath(tempBinPath);
|
||||
// Write the wrapper script to the directory we just added to the PATH.
|
||||
|
||||
File diff suppressed because one or more lines are too long
+5
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user