mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-02-03 07:29:07 +08:00
triggerWorkflowOnComplete param for cloud runner
This commit is contained in:
@@ -9,7 +9,11 @@ import { AsyncWorkflow } from './async-workflow';
|
||||
export class WorkflowCompositionRoot implements WorkflowInterface {
|
||||
async run(cloudRunnerStepState: CloudRunnerStepState) {
|
||||
try {
|
||||
if (CloudRunnerOptions.asyncCloudRunner) {
|
||||
if (
|
||||
CloudRunnerOptions.asyncCloudRunner &&
|
||||
!CloudRunner.isCloudRunnerAsyncEnvironment &&
|
||||
!CloudRunner.isCloudRunnerEnvironment
|
||||
) {
|
||||
return await AsyncWorkflow.runAsyncWorkflow(cloudRunnerStepState.environment, cloudRunnerStepState.secrets);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user