File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -178,11 +178,13 @@ jobs:
178
178
id : get_versions
179
179
run : |
180
180
nix run nixpkgs#nushell -- -c '
181
- # Extract the versions from prepare.outputs.matrix_config
182
- let versions = ${{ fromJson(needs.prepare.outputs.matrix_config).include }} | get version
183
- echo "Versions: $versions"
181
+ # Parse the matrix configuration directly
182
+ let matrix_config = ${{ fromJson(needs.prepare.outputs.matrix_config) }}
183
+
184
+ # Extract the versions as a list
185
+ let versions = $matrix_config.include | get version
184
186
185
- # Set the versions to an environment variable in GitHub Actions' environment
187
+ echo "Versions: $ versions"
186
188
let versions_str = ($versions | join ",")
187
189
$"versions=$versions_str" | save --append $env.GITHUB_ENV
188
190
'
@@ -199,6 +201,7 @@ jobs:
199
201
name: $artifact_name
200
202
}
201
203
'
204
+
202
205
- name : Combine Results
203
206
id : combine
204
207
run : |
You can’t perform that action at this time.
0 commit comments