Skip to content

Commit e42ab66

Browse files
committed
chore:rm redundant
1 parent 90a45f4 commit e42ab66

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -180,16 +180,16 @@ jobs:
180180
nix run nixpkgs#nushell -- -c '
181181
# Parse the matrix configuration directly
182182
let matrix_config = ${{ fromJson(needs.prepare.outputs.matrix_config) }}
183-
184-
let versions = $matrix_config.include | get version
185-
183+
184+
# Get versions directly from include array
185+
let versions = ($matrix_config.include | get version)
186+
186187
echo "Versions: $versions"
187-
188-
# Convert the table of versions to a simple list of strings
189-
let versions_str = ($versions | get version | join ",")
188+
189+
# Convert the versions to a comma-separated string
190+
let versions_str = ($versions | join ",")
190191
$"versions=$versions_str" | save --append $env.GITHUB_ENV
191192
'
192-
193193
- name: Download Results Artifacts
194194
run: |
195195
nix run nixpkgs#nushell -- -c '

0 commit comments

Comments
 (0)