@@ -102,6 +102,8 @@ jobs:
102102 if : github.event_name == 'pull_request' && github.event.pull_request.merged != true && github.event.action != 'closed' && fromJson(needs.Get-Settings.outputs.Settings).Linter.Skip != true
103103 needs :
104104 - Get-Settings
105+ env :
106+ SETTINGS : ${{ needs.Get-Settings.outputs.Settings }}
105107 steps :
106108 - name : Checkout repo
107109 uses : actions/checkout@v5
@@ -110,8 +112,6 @@ jobs:
110112 fetch-depth : 0
111113
112114 - name : Load dynamic envs
113- env :
114- SETTINGS : ${{ needs.Get-Settings.outputs.Settings }}
115115 run : |
116116 Write-Host "Loading settings for super-linter:"
117117 $settings = $env:SETTINGS | ConvertFrom-Json -AsHashtable
@@ -164,6 +164,8 @@ jobs:
164164 uses : ./.github/workflows/Build-Module.yml
165165 needs :
166166 - Get-Settings
167+ env :
168+ SETTINGS : ${{ needs.Get-Settings.outputs.Settings }}
167169 with :
168170 Name : ${{ fromJson(needs.Get-Settings.outputs.Settings).Name }}
169171 WorkingDirectory : ${{ inputs.WorkingDirectory }}
@@ -177,6 +179,8 @@ jobs:
177179 if : ${{ !(github.event.action == 'closed' && github.event.pull_request.merged != true) && needs.Get-Settings.outputs.SourceCodeTestSuites != '[]' }}
178180 needs :
179181 - Get-Settings
182+ env :
183+ SETTINGS : ${{ needs.Get-Settings.outputs.Settings }}
180184 strategy :
181185 fail-fast : false
182186 matrix :
@@ -201,6 +205,8 @@ jobs:
201205 if : ${{ !(github.event.action == 'closed' && github.event.pull_request.merged != true) && needs.Get-Settings.outputs.SourceCodeTestSuites != '[]' }}
202206 needs :
203207 - Get-Settings
208+ env :
209+ SETTINGS : ${{ needs.Get-Settings.outputs.Settings }}
204210 strategy :
205211 fail-fast : false
206212 matrix :
@@ -226,6 +232,8 @@ jobs:
226232 needs :
227233 - Build-Module
228234 - Get-Settings
235+ env :
236+ SETTINGS : ${{ needs.Get-Settings.outputs.Settings }}
229237 strategy :
230238 fail-fast : false
231239 matrix :
@@ -254,6 +262,8 @@ jobs:
254262 needs :
255263 - Build-Module
256264 - Get-Settings
265+ env :
266+ SETTINGS : ${{ needs.Get-Settings.outputs.Settings }}
257267 steps :
258268 - name : Checkout Code
259269 uses : actions/checkout@v5
@@ -302,6 +312,8 @@ jobs:
302312 - Build-Module
303313 - Get-Settings
304314 - BeforeAll-ModuleLocal
315+ env :
316+ SETTINGS : ${{ needs.Get-Settings.outputs.Settings }}
305317 strategy :
306318 fail-fast : false
307319 matrix :
@@ -330,7 +342,10 @@ jobs:
330342 name : AfterAll-ModuleLocal
331343 runs-on : ubuntu-latest
332344 needs :
345+ - Get-Settings
333346 - Test-ModuleLocal
347+ env :
348+ SETTINGS : ${{ needs.Get-Settings.outputs.Settings }}
334349 steps :
335350 - name : Checkout Code
336351 uses : actions/checkout@v5
@@ -382,6 +397,8 @@ jobs:
382397 - Lint-SourceCode
383398 - Test-Module
384399 - Test-ModuleLocal
400+ env :
401+ SETTINGS : ${{ needs.Get-Settings.outputs.Settings }}
385402 uses : ./.github/workflows/Get-TestResults.yml
386403 secrets : inherit
387404 with :
@@ -404,6 +421,8 @@ jobs:
404421 - Get-Settings
405422 - Test-Module
406423 - Test-ModuleLocal
424+ env :
425+ SETTINGS : ${{ needs.Get-Settings.outputs.Settings }}
407426 uses : ./.github/workflows/Get-CodeCoverage.yml
408427 secrets : inherit
409428 with :
@@ -431,6 +450,8 @@ jobs:
431450 - Get-CodeCoverage
432451 - Build-Site
433452 runs-on : ubuntu-latest
453+ env :
454+ SETTINGS : ${{ needs.Get-Settings.outputs.Settings }}
434455 steps :
435456 - name : Checkout Code
436457 uses : actions/checkout@v5
@@ -479,6 +500,8 @@ jobs:
479500 needs :
480501 - Get-Settings
481502 - Build-Module
503+ env :
504+ SETTINGS : ${{ needs.Get-Settings.outputs.Settings }}
482505 uses : ./.github/workflows/Build-Docs.yml
483506 with :
484507 Name : ${{ fromJson(needs.Get-Settings.outputs.Settings).Name }}
@@ -499,6 +522,8 @@ jobs:
499522 needs :
500523 - Get-Settings
501524 - Build-Docs
525+ env :
526+ SETTINGS : ${{ needs.Get-Settings.outputs.Settings }}
502527 uses : ./.github/workflows/Build-Site.yml
503528 with :
504529 Name : ${{ fromJson(needs.Get-Settings.outputs.Settings).Name }}
@@ -527,6 +552,8 @@ jobs:
527552 name : github-pages
528553 url : ${{ steps.deployment.outputs.page_url }}
529554 runs-on : ubuntu-latest
555+ env :
556+ SETTINGS : ${{ needs.Get-Settings.outputs.Settings }}
530557 steps :
531558 - uses : actions/configure-pages@v5
532559
0 commit comments