From a8553a4326cf37dface11a060aa8ec3c3f945de2 Mon Sep 17 00:00:00 2001 From: Alessandro Boron Date: Tue, 26 Mar 2024 14:40:00 +1100 Subject: [PATCH] Add matrix output --- .github/workflows/create_variants.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/create_variants.yml b/.github/workflows/create_variants.yml index 6d1a60b53e..3ff3e3aaf6 100644 --- a/.github/workflows/create_variants.yml +++ b/.github/workflows/create_variants.yml @@ -77,6 +77,20 @@ 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 }}" + create-variants: name: Create Variant