mirror of
https://github.com/github/codeql.git
synced 2026-05-04 13:15:21 +02:00
fix(actions): pass the qlpack dirs
This commit is contained in:
6
.github/action/src/codeql.ts
vendored
6
.github/action/src/codeql.ts
vendored
@@ -107,11 +107,11 @@ export async function downloadPack(codeql: CodeQLConfig): Promise<boolean> {
|
||||
|
||||
export async function installPack(
|
||||
codeql: CodeQLConfig,
|
||||
path: string,
|
||||
dir: string,
|
||||
): Promise<boolean> {
|
||||
try {
|
||||
await runCommand(codeql, ["pack", "install"], path);
|
||||
await runCommand(codeql, ["pack", "install"], path);
|
||||
await runCommand(codeql, ["pack", "install"], path.join(dir, "/ql/lib"));
|
||||
await runCommand(codeql, ["pack", "install"], path.join(dir, "/ql/src"));
|
||||
return true;
|
||||
} catch (error) {
|
||||
core.warning("Failed to install local packs ...");
|
||||
|
||||
Reference in New Issue
Block a user