From b3bab160d2a0e0a07dfdbe757d15cb5de8c19666 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alvaro=20Mu=C3=B1oz?= Date: Fri, 16 Feb 2024 14:41:21 +0100 Subject: [PATCH] fix(actions): ql pack installation --- .github/action/src/codeql.ts | 2 ++ action.yml | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/action/src/codeql.ts b/.github/action/src/codeql.ts index 7cb1dab48e5..b999b698d14 100644 --- a/.github/action/src/codeql.ts +++ b/.github/action/src/codeql.ts @@ -111,7 +111,9 @@ export async function installPack( dir: string, ): Promise { 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) { diff --git a/action.yml b/action.yml index 976e35d8f7c..ed6eb327a9e 100644 --- a/action.yml +++ b/action.yml @@ -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