mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
feat(actions): refactor as composite action to be able to pass env vars
This commit is contained in:
4
.github/action/dist/index.js
vendored
4
.github/action/dist/index.js
vendored
@@ -28678,12 +28678,12 @@ async function installPack(codeql, path) {
|
||||
try {
|
||||
await runCommand(codeql, ["pack", "install"], path);
|
||||
await runCommand(codeql, ["pack", "install"], path);
|
||||
core.info("Installed local packs ...");
|
||||
return true;
|
||||
}
|
||||
catch (error) {
|
||||
core.warning("Failed to install local packs ...");
|
||||
}
|
||||
core.info("Installed local packs ...");
|
||||
return false;
|
||||
}
|
||||
exports.installPack = installPack;
|
||||
@@ -30815,4 +30815,4 @@ module.exports = parseParams
|
||||
/******/ module.exports = __webpack_exports__;
|
||||
/******/
|
||||
/******/ })()
|
||||
;
|
||||
;
|
||||
|
||||
1
.github/action/src/codeql.ts
vendored
1
.github/action/src/codeql.ts
vendored
@@ -116,7 +116,6 @@ export async function installPack(
|
||||
} catch (error) {
|
||||
core.warning("Failed to install local packs ...");
|
||||
}
|
||||
core.info("Installed local packs ...");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
2
.github/action/src/gh.ts
vendored
2
.github/action/src/gh.ts
vendored
@@ -12,7 +12,7 @@ export interface GHConfig {
|
||||
|
||||
export async function newGHConfig(): Promise<GHConfig> {
|
||||
return {
|
||||
path: "",
|
||||
path: "/usr/bin/",
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user