Skip to content

Commit 90a45f4

Browse files
committed
chore: convert table to list of strings
1 parent 6f7ce25 commit 90a45f4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,17 +181,19 @@ jobs:
181181
# Parse the matrix configuration directly
182182
let matrix_config = ${{ fromJson(needs.prepare.outputs.matrix_config) }}
183183
184-
# Extract the versions as a list
185184
let versions = $matrix_config.include | get version
186185
187186
echo "Versions: $versions"
188-
let versions_str = ($versions | join ",")
187+
188+
# Convert the table of versions to a simple list of strings
189+
let versions_str = ($versions | get version | join ",")
189190
$"versions=$versions_str" | save --append $env.GITHUB_ENV
190191
'
191192
192193
- name: Download Results Artifacts
193194
run: |
194195
nix run nixpkgs#nushell -- -c '
196+
# Ensure the versions environment variable is correctly set
195197
let versions = env.versions | str split ","
196198
foreach $version in $versions {
197199
let artifact_name = "merge_results-$version"
@@ -202,6 +204,7 @@ jobs:
202204
}
203205
'
204206
207+
205208
- name: Combine Results
206209
id: combine
207210
run: |

0 commit comments

Comments
 (0)