mirror of
https://github.com/github/codeql-action.git
synced 2026-11-08 14:09:51 +00:00
Add another level to tempBinPath
This commit is contained in:
2
lib/init-action.js
generated
2
lib/init-action.js
generated
@@ -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
Reference in New Issue
Block a user