File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -111,9 +111,12 @@ jobs:
111111
112112 - name : Load dynamic envs
113113 env :
114- RAW_JSON : ${{ toJson(fromJson(needs.Get-Settings.outputs.Settings).Linter.env ) }}
114+ RAW_JSON : ${{ toJson(fromJson(needs.Get-Settings.outputs.Settings).Linter) }}
115115 run : |
116- $map = $env:RAW_JSON | ConvertFrom-Json -AsHashtable
116+ $env:RAW_JSON
117+ $linter = $env:RAW_JSON | ConvertFrom-Json -AsHashtable
118+ $env = $linter.env
119+ Write-Host "$($env | Format-Table -AutoSize | Out-String)"
117120
118121 foreach ($key in $map.Keys) {
119122 $value = $map[$key]
@@ -122,6 +125,8 @@ jobs:
122125 $value = $value.ToString().ToLower()
123126 }
124127
128+ Write-Host "$key = $value"
129+
125130 # Persist for following steps in this job
126131 "$key=$value" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
127132 }
You can’t perform that action at this time.
0 commit comments