Skip to content

Commit

Permalink
Add matrix output
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandroboron committed Mar 26, 2024
1 parent c3e3ad6 commit b3b6e2c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/create_variants.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,15 @@ jobs:
origin-asana-section-id: ${{ vars.DMG_VARIANTS_ORIGIN_SECTION_ID }}
atb-variants: ${{ github.event.inputs.atb-variants }} #Only used when running the workflow manually.

read-matrix:
name: Read Matrix Output
needs: set-up-variants
run: |
matrix={"include": ["{"variant":"gd"},{"variant":"ge"},{"variant":"gh"}]}
echo "VARIANT1: ${{ needs.set-up-variants.outputs.build-variants }}"
echo "VARIANT2: ${{ needs.set-up-variants.outputs.get-build-variants }}"
echo "Matrix: ${{fromJson(fileToString(matrix))}}"
create-variants:

name: Create Variant
Expand Down

0 comments on commit b3b6e2c

Please sign in to comment.