refactoring workflows
parent
3e47c2bfcb
commit
5acaeca383
|
|
@ -2351,7 +2351,7 @@ const core = __importStar(__webpack_require__(42186));
|
||||||
class WorkflowCompositionRoot {
|
class WorkflowCompositionRoot {
|
||||||
run(cloudRunnerStepState) {
|
run(cloudRunnerStepState) {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
yield WorkflowCompositionRoot.runJob(cloudRunnerStepState.image);
|
yield WorkflowCompositionRoot.runJob(cloudRunnerStepState.image.toString());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
static runJob(baseImage) {
|
static runJob(baseImage) {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -8,7 +8,7 @@ import * as core from '@actions/core';
|
||||||
|
|
||||||
export class WorkflowCompositionRoot implements WorkflowInterface {
|
export class WorkflowCompositionRoot implements WorkflowInterface {
|
||||||
async run(cloudRunnerStepState: CloudRunnerStepState) {
|
async run(cloudRunnerStepState: CloudRunnerStepState) {
|
||||||
await WorkflowCompositionRoot.runJob(cloudRunnerStepState.image);
|
await WorkflowCompositionRoot.runJob(cloudRunnerStepState.image.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
private static async runJob(baseImage: any) {
|
private static async runJob(baseImage: any) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue