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 aca741a
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,10 +77,25 @@ 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":"ab"},{"origin":"abc.com"},{"origin":"abc.com","variant":"ab"}]}
echo "VARIANT1: ${{ needs.set-up-variants.outputs.build-variants }}"
echo "VARIANT2: ${{ needs.set-up-variants.outputs.get-build-variants }}"
create-variants:

name: Create Variant
needs: set-up-variants
if: false

strategy:
fail-fast: false
Expand Down

0 comments on commit aca741a

Please sign in to comment.