pull/496/head
Frostebite 2023-02-12 03:49:33 +00:00
parent c1845b8e4d
commit 6d2fc239d1
3 changed files with 3 additions and 3 deletions

2
dist/index.js generated vendored
View File

@ -4725,7 +4725,7 @@ const fs = __importStar(__nccwpck_require__(57147));
class CloudRunnerCustomHooks {
// TODO also accept hooks as yaml files in the repo
static ApplyHooksToCommands(commands, buildParameters) {
const hooks = CloudRunnerCustomHooks.getHooks(buildParameters.customJobHooks).filter((x) => x.step.includes(`all`));
const hooks = CloudRunnerCustomHooks.getHooks(buildParameters.customJobHooks);
return `echo "---"
echo "start cloud runner init"
${cloud_runner_options_1.default.cloudRunnerDebugEnv ? `printenv` : `#`}

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -11,7 +11,7 @@ import * as fs from 'fs';
export class CloudRunnerCustomHooks {
// TODO also accept hooks as yaml files in the repo
public static ApplyHooksToCommands(commands: string, buildParameters: BuildParameters): string {
const hooks = CloudRunnerCustomHooks.getHooks(buildParameters.customJobHooks).filter((x) => x.step.includes(`all`));
const hooks = CloudRunnerCustomHooks.getHooks(buildParameters.customJobHooks);
return `echo "---"
echo "start cloud runner init"