Skip to content

Commit 2010983

Browse files
🩹 [Patch]: Remove output access hints from logs (#55)
Removes the output access hint text from the action logs to avoid confusion when the action is used directly or nested in another composite action. The output grouping and output content display remain unchanged. - Fixes #54 ## Changes - Remove access-hint printing in `scripts/outputs.ps1` - Simplify composite output test by removing access-pattern demo and help-text validation ## Rationale The access pattern differs for direct vs nested usage, so printed hints can be misleading. Removing the hint avoids confusion while still showing the output values. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: MariusStorhaug <17722253+MariusStorhaug@users.noreply.github.com> Co-authored-by: Marius Storhaug <marstor@hotmail.com>
1 parent 9fd70c8 commit 2010983

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

scripts/outputs.ps1

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ try {
3333
$blue = $PSStyle.Foreground.Blue
3434
$reset = $PSStyle.Reset
3535
LogGroup " - $blue$($output.Name)$reset" {
36-
$outputAccess = "Accessible via: [$blue`${{ fromJson(steps.$env:GITHUB_ACTION.outputs.result).$($output.Name) }}$reset]"
37-
$outputFence = ('' * ($outputAccess.Length - 9))
38-
Write-Output $outputAccess
39-
Write-Output $outputFence
4036
$output.Value | Format-List | Out-String
4137
}
4238
}

0 commit comments

Comments
 (0)