@@ -63,73 +63,74 @@ jobs:
6363 steps :
6464 - name : Display Aggregated Results as a Table
6565 uses : PSModule/Github-Script@v1
66+ env :
67+ ActionTestSrcSourceCodeOutcome : ${{ needs.ActionTestSrcSourceCode.outputs.Outcome }}
68+ ActionTestSrcSourceCodeConclusion : ${{ needs.ActionTestSrcSourceCode.outputs.Conclusion }}
69+ ActionTestSrcCustomOutcome : ${{ needs.ActionTestSrcCustom.outputs.Outcome }}
70+ ActionTestSrcCustomConclusion : ${{ needs.ActionTestSrcCustom.outputs.Conclusion }}
71+ ActionTestSrcWithManifestOutcome : ${{ needs.ActionTestSrcWithManifest.outputs.Outcome }}
72+ ActionTestSrcWithManifestConclusion : ${{ needs.ActionTestSrcWithManifest.outputs.Conclusion }}
73+ ActionTestOutputsOutcome : ${{ needs.ActionTestOutputs.outputs.Outcome }}
74+ ActionTestOutputsConclusion : ${{ needs.ActionTestOutputs.outputs.Conclusion }}
6675 with :
6776 Script : |
6877 Install-PSResource -Name Markdown -Repository PSGallery -TrustRepository
6978
7079 # Build an array of objects for each job
71- $ActionTestSrcSourceCodeOutcome = ${{ needs.ActionTestSrcSourceCode.outputs.Outcome }}
7280 $ActionTestSrcSourceCodeExpectedOutcome = "success"
73- $ActionTestSrcSourceCodeOutcomeResult = $ActionTestSrcSourceCodeOutcome -eq $ActionTestSrcSourceCodeExpectedOutcome
74- $ActionTestSrcSourceCodeConclusion = ${{ needs.ActionTestSrcSourceCode.outputs.Conclusion }}
81+ $ActionTestSrcSourceCodeOutcomeResult = $env:ActionTestSrcSourceCodeOutcome -eq $ActionTestSrcSourceCodeExpectedOutcome
7582 $ActionTestSrcSourceCodeExpectedConclusion = "success"
76- $ActionTestSrcSourceCodeConclusionResult = $ActionTestSrcSourceCodeConclusion -eq $ActionTestSrcSourceCodeExpectedConclusion
83+ $ActionTestSrcSourceCodeConclusionResult = $env: ActionTestSrcSourceCodeConclusion -eq $ActionTestSrcSourceCodeExpectedConclusion
7784
78- $ActionTestSrcCustomOutcome = ${{ needs.ActionTestSrcCustom.outputs.Outcome }}
7985 $ActionTestSrcCustomExpectedOutcome = "success"
80- $ActionTestSrcCustomOutcomeResult = $ActionTestSrcCustomOutcome -eq $ActionTestSrcCustomExpectedOutcome
81- $ActionTestSrcCustomConclusion = ${{ needs.ActionTestSrcCustom.outputs.Conclusion }}
86+ $ActionTestSrcCustomOutcomeResult = $env:ActionTestSrcCustomOutcome -eq $ActionTestSrcCustomExpectedOutcome
8287 $ActionTestSrcCustomExpectedConclusion = "success"
83- $ActionTestSrcCustomConclusionResult = $ActionTestSrcCustomConclusion -eq $ActionTestSrcCustomExpectedConclusion
88+ $ActionTestSrcCustomConclusionResult = $env: ActionTestSrcCustomConclusion -eq $ActionTestSrcCustomExpectedConclusion
8489
85- $ActionTestSrcWithManifestOutcome = ${{ needs.ActionTestSrcWithManifest.outputs.Outcome }}
8690 $ActionTestSrcWithManifestExpectedOutcome = "failure"
87- $ActionTestSrcWithManifestOutcomeResult = $ActionTestSrcWithManifestOutcome -eq $ActionTestSrcWithManifestExpectedOutcome
88- $ActionTestSrcWithManifestConclusion = ${{ needs.ActionTestSrcWithManifest.outputs.Conclusion }}
91+ $ActionTestSrcWithManifestOutcomeResult = $env:ActionTestSrcWithManifestOutcome -eq $ActionTestSrcWithManifestExpectedOutcome
8992 $ActionTestSrcWithManifestExpectedConclusion = "success"
90- $ActionTestSrcWithManifestConclusionResult = $ActionTestSrcWithManifestConclusion -eq $ActionTestSrcWithManifestExpectedConclusion
93+ $ActionTestSrcWithManifestConclusionResult = $env: ActionTestSrcWithManifestConclusion -eq $ActionTestSrcWithManifestExpectedConclusion
9194
92- $ActionTestOutputsOutcome = ${{ needs.ActionTestOutputs.outputs.Outcome }}
9395 $ActionTestOutputsExpectedOutcome = "success"
94- $ActionTestOutputsOutcomeResult = $ActionTestOutputsOutcome -eq $ActionTestOutputsExpectedOutcome
95- $ActionTestOutputsConclusion = ${{ needs.ActionTestOutputs.outputs.Conclusion }}
96+ $ActionTestOutputsOutcomeResult = $env:ActionTestOutputsOutcome -eq $ActionTestOutputsExpectedOutcome
9697 $ActionTestOutputsExpectedConclusion = "success"
97- $ActionTestOutputsConclusionResult = $ActionTestOutputsConclusion -eq $ActionTestOutputsExpectedConclusion
98+ $ActionTestOutputsConclusionResult = $env: ActionTestOutputsConclusion -eq $ActionTestOutputsExpectedConclusion
9899
99100 $jobs = @(
100101 [PSCustomObject]@{
101102 Name = "Action-Test - [Src-SourceCode]"
102- Outcome = $ActionTestSrcSourceCodeOutcome
103+ Outcome = $env: ActionTestSrcSourceCodeOutcome
103104 ExpectedOutcome = $ActionTestSrcSourceCodeExpectedOutcome
104105 PassedOutcome = $ActionTestSrcSourceCodeOutcomeResult
105- Conclusion = $ActionTestSrcSourceCodeConclusion
106+ Conclusion = $env: ActionTestSrcSourceCodeConclusion
106107 ExpectedConclusion = $ActionTestSrcSourceCodeExpectedConclusion
107108 PassedConclusion = $ActionTestSrcSourceCodeConclusionResult
108109 },
109110 [PSCustomObject]@{
110111 Name = "Action-Test - [Src-Custom]"
111- Outcome = $ActionTestSrcCustomOutcome
112+ Outcome = $env: ActionTestSrcCustomOutcome
112113 ExpectedOutcome = $ActionTestSrcCustomExpectedOutcome
113114 PassedOutcome = $ActionTestSrcCustomOutcomeResult
114- Conclusion = $ActionTestSrcCustomConclusion
115+ Conclusion = $env: ActionTestSrcCustomConclusion
115116 ExpectedConclusion = $ActionTestSrcCustomExpectedConclusion
116117 PassedConclusion = $ActionTestSrcCustomConclusionResult
117118 },
118119 [PSCustomObject]@{
119120 Name = "Action-Test - [Src-WithManifest]"
120- Outcome = $ActionTestSrcWithManifestOutcome
121+ Outcome = $env: ActionTestSrcWithManifestOutcome
121122 ExpectedOutcome = $ActionTestSrcWithManifestExpectedOutcome
122123 PassedOutcome = $ActionTestSrcWithManifestOutcomeResult
123- Conclusion = $ActionTestSrcWithManifestConclusion
124+ Conclusion = $env: ActionTestSrcWithManifestConclusion
124125 ExpectedConclusion = $ActionTestSrcWithManifestExpectedConclusion
125126 PassedConclusion = $ActionTestSrcWithManifestConclusionResult
126127 },
127128 [PSCustomObject]@{
128129 Name = "Action-Test - [outputs]"
129- Outcome = $ActionTestOutputsOutcome
130+ Outcome = $env: ActionTestOutputsOutcome
130131 ExpectedOutcome = $ActionTestOutputsExpectedOutcome
131132 PassedOutcome = $ActionTestOutputsOutcomeResult
132- Conclusion = $ActionTestOutputsConclusion
133+ Conclusion = $env: ActionTestOutputsConclusion
133134 ExpectedConclusion = $ActionTestOutputsExpectedConclusion
134135 PassedConclusion = $ActionTestOutputsConclusionResult
135136 }
0 commit comments