Skip to content

Commit

Permalink
Add job that retrieves MATRIX_DIR from env
Browse files Browse the repository at this point in the history
  • Loading branch information
datalogics-saharay committed Apr 18, 2024
1 parent 150a464 commit 6f005cf
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,25 @@ env:
]
jobs:
get-matrix-dir-from-env:
name: Get MATRIX_DIR
runs-on: windows-latest
outputs:
MATRIX_DIR: ${{ env.MATRIX_DIR }}
steps:
- run: |
echo "Set MATRIX_DIR environment variable as output"
run-samples-windows:
runs-on: windows-latest
needs: [get-matrix-dir-from-env]
defaults:
run:
shell: bash
strategy:
fail-fast: false
matrix:
dir: ${{ fromJSON(vars.MATRIX_DIR) }}
dir: ${{ fromJSON(needs.get-matrix-dir-from-env.outputs.MATRIX_DIR) }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 6f005cf

Please sign in to comment.