Skip to content

Commit f72840d

Browse files
committed
chore: from json
1 parent 62f5ee2 commit f72840d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/dockerhub-release-matrix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,15 +183,15 @@ jobs:
183183
run: |
184184
nix run nixpkgs#nushell -- -c '
185185
# Parse the matrix configuration directly
186-
let matrix_config = ${{ fromJson(needs.prepare.outputs.matrix_config) }}
186+
let matrix_config = (${{ toJson(needs.prepare.outputs.matrix_config) }} | from json)
187187
188188
# Get versions directly from include array
189189
let versions = ($matrix_config.include | get version)
190190

191191
echo "Versions: $versions"
192192

193193
# Convert the versions to a comma-separated string
194-
let versions_str = ($versions | join ",")
194+
let versions_str = ($versions | str join ",")
195195
$"versions=$versions_str" | save --append $env.GITHUB_ENV
196196
'
197197
- name: Download Results Artifacts

0 commit comments

Comments
 (0)