mirror of
https://github.com/github/codeql.git
synced 2025-12-28 06:36:33 +01:00
fix(actions): ql pack installation
This commit is contained in:
2
.github/action/src/codeql.ts
vendored
2
.github/action/src/codeql.ts
vendored
@@ -111,7 +111,9 @@ export async function installPack(
|
||||
dir: string,
|
||||
): Promise<boolean> {
|
||||
try {
|
||||
await runCommand(codeql, ["pack", "download"], path.join(dir, "/ql/lib"));
|
||||
await runCommand(codeql, ["pack", "install"], path.join(dir, "/ql/lib"));
|
||||
await runCommand(codeql, ["pack", "download"], path.join(dir, "/ql/src"));
|
||||
await runCommand(codeql, ["pack", "install"], path.join(dir, "/ql/src"));
|
||||
return true;
|
||||
} catch (error) {
|
||||
|
||||
@@ -26,5 +26,4 @@ runs:
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
run: |
|
||||
node .github/action/dist/index.js
|
||||
node ${{ github.action_path }}/.github/action/dist/index.js
|
||||
|
||||
Reference in New Issue
Block a user