From 7dde8c66c05cd23ae4f2cdad2318e682855bf7c4 Mon Sep 17 00:00:00 2001 From: Alessandro Boron Date: Tue, 26 Mar 2024 15:09:42 +1100 Subject: [PATCH] Test output again --- .github/workflows/create_variants.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create_variants.yml b/.github/workflows/create_variants.yml index dbd1fb8fe7..a53c28866d 100644 --- a/.github/workflows/create_variants.yml +++ b/.github/workflows/create_variants.yml @@ -79,12 +79,26 @@ jobs: atb-asana-task-id: ${{ vars.DMG_VARIANTS_LIST_TASK_ID }} 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\":\"ab\"},{\"origin\":\"abc.com\"},{\"origin\":\"abc.com\",\"variant\":\"ab\"}]} + echo "MATRIX1: ${{ fromJson(matrix) }}" + echo "MATRIX2: ${{ fromJson(needs.set-up-variants.outputs.build-variants) }}" create-variants: name: Create Variant needs: set-up-variants + if: false strategy: fail-fast: false