fix(actions): ql pack installation

This commit is contained in:
Alvaro Muñoz
2024-02-16 14:41:21 +01:00
parent 41639dd0e2
commit b3bab160d2
2 changed files with 2 additions and 1 deletions

View File

@@ -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) {

View File

@@ -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