Skip to content

Commit

Permalink
fix: handle job matrix as workflow output
Browse files Browse the repository at this point in the history
  • Loading branch information
mihai-sysbio committed Mar 6, 2023
1 parent 0e238cc commit 03e0ed0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: pip install -r requirements.txt

- id: set-matrix
run: echo "::set-output name=matrix::$(python -c 'import runner; runner.matrix()')"
run: echo "matrix=$(python -c 'import runner; runner.matrix()')" >> $GITHUB_OUTPUT

- name: Cache pip directory
uses: actions/cache@v3
Expand All @@ -45,7 +45,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
fail-fast: false
matrix: ${{fromJson(needs.setup.outputs.matrix)}}
matrix: ${{ needs.setup.outputs.matrix }}
max-parallel: 1

steps:
Expand Down

0 comments on commit 03e0ed0

Please sign in to comment.