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 3c7e4de
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/create_variants.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,21 @@ 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
needs: set-up-variants

runs-on: macos-13
timeout-minutes: 15

steps:
- name: Parse Matrix
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 3c7e4de

Please sign in to comment.