diff --git a/actions/assembler-match/action.yml b/actions/assembler-match/action.yml index 8091bc141..7216dd852 100644 --- a/actions/assembler-match/action.yml +++ b/actions/assembler-match/action.yml @@ -16,8 +16,6 @@ inputs: outputs: content-source-match: description: 'true/false indicating the branch matches a content-source' - content-source-name: - description: "The name of the content source that matches (current/next) or empty" content-source-next: description: "true/false indicating the branch acts as the next content source" content-source-current: diff --git a/src/tooling/docs-assembler/Cli/ContentSourceCommands.cs b/src/tooling/docs-assembler/Cli/ContentSourceCommands.cs index 6b0e22065..6976bf78a 100644 --- a/src/tooling/docs-assembler/Cli/ContentSourceCommands.cs +++ b/src/tooling/docs-assembler/Cli/ContentSourceCommands.cs @@ -59,7 +59,8 @@ public async Task Match([Argument] string? repository = null, [Argument] st { logger.LogInformation("'{Repository}' '{BranchOrTag}' combination not found in configuration.", repo, refName); await githubActionsService.SetOutputAsync("content-source-match", "false"); - await githubActionsService.SetOutputAsync("content-source-name", ""); + await githubActionsService.SetOutputAsync("content-source-next", "false"); + await githubActionsService.SetOutputAsync("content-source-current", "false"); } else { @@ -71,10 +72,6 @@ public async Task Match([Argument] string? repository = null, [Argument] st await githubActionsService.SetOutputAsync("content-source-match", "true"); await githubActionsService.SetOutputAsync("content-source-next", matches.Next is not null ? "true" : "false"); await githubActionsService.SetOutputAsync("content-source-current", matches.Current is not null ? "true" : "false"); - - //TODO remove once we've merged our changes to the github action and its workflow usage to no longer use this output - var name = (matches.Current ?? matches.Next)!.Value.ToStringFast(true); - await githubActionsService.SetOutputAsync("content-source-name", name); } await collector.StopAsync(ctx);