From 03e0ed028708c3369f07520d29b1b7bd63cd5d1b Mon Sep 17 00:00:00 2001 From: Mihail Anton Date: Mon, 6 Mar 2023 17:24:19 +0100 Subject: [PATCH] fix: handle job matrix as workflow output --- .github/workflows/validation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml index 515c134..70b46de 100644 --- a/.github/workflows/validation.yml +++ b/.github/workflows/validation.yml @@ -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 @@ -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: