Skip to content

Commit b3bab16

Browse files
author
Alvaro Muñoz
committed
fix(actions): ql pack installation
1 parent 41639dd commit b3bab16

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/action/src/codeql.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ export async function installPack(
111111
dir: string,
112112
): Promise<boolean> {
113113
try {
114+
await runCommand(codeql, ["pack", "download"], path.join(dir, "/ql/lib"));
114115
await runCommand(codeql, ["pack", "install"], path.join(dir, "/ql/lib"));
116+
await runCommand(codeql, ["pack", "download"], path.join(dir, "/ql/src"));
115117
await runCommand(codeql, ["pack", "install"], path.join(dir, "/ql/src"));
116118
return true;
117119
} catch (error) {

action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,4 @@ runs:
2626
env:
2727
GH_TOKEN: ${{ github.token }}
2828
run: |
29-
node .github/action/dist/index.js
3029
node ${{ github.action_path }}/.github/action/dist/index.js

0 commit comments

Comments
 (0)