This website uses cookies to ensure you get the best experience.
Learn more.
A workflow receives a JSON array of deployment regions as the string output of a preparation job. A later matrix should create one job for each region. Which expression turns that output into matrix data?
Published
- Use toJSON(needs.prepare.outputs.regions) to parse the array.
- Use format to copy the JSON output string and expect formatting to deserialize it.
- Use fromJSON(needs.prepare.outputs.regions) when defining the region matrix.
- List the output string as one quoted matrix entry and expect automatic splitting.
Comments — 0
Sign in to comment