Skip to content

Commit cd2e596

Browse files
committed
chore: process each version
1 parent 369f534 commit cd2e596

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ jobs:
166166
id: get_versions
167167
run: |
168168
nix run nixpkgs#nushell -- -c '
169-
let original_matrix = (${{ needs.prepare.outputs.matrix_config }} | from json)
169+
let original_matrix = ${{ needs.prepare.outputs.matrix_config }}
170170
let versions = $original_matrix.include
171171
let processed_versions = ($versions | each { |item|
172172
let version = $item.version
@@ -182,8 +182,7 @@ jobs:
182182
} | flatten)
183183
184184
let matrix = {include: $processed_versions}
185-
let matrix_json = ($matrix | to json -r)
186-
$"matrix=($matrix_json)" | save --append $env.GITHUB_OUTPUT
185+
$"matrix=(${matrix | to json -r})" | save --append $env.GITHUB_OUTPUT
187186
'
188187
189188
publish:

0 commit comments

Comments
 (0)