Skip to content

Commit 6f43f5c

Browse files
📝[Fix]: Correctly convert Linter environment variables to JSON format in workflow
1 parent a84d166 commit 6f43f5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎.github/workflows/workflow.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111

112112
- name: Load dynamic envs
113113
env:
114-
RAW_JSON: ${{ fromJson(needs.Get-Settings.outputs.Settings).Linter.env }}
114+
RAW_JSON: ${{ toJson(fromJson(needs.Get-Settings.outputs.Settings).Linter.env) }}
115115
run: |
116116
$map = $env:RAW_JSON | ConvertFrom-Json -AsHashtable
117117

0 commit comments

Comments
 (0)