From bf6ddb7db66f9da5b2cffeb28b2b696aacb26e1c Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Wed, 3 Aug 2022 15:07:20 -0600 Subject: [PATCH] fix: bug with matrix job (#560) --- .github/workflows/manual-matrix-test.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/manual-matrix-test.yml b/.github/workflows/manual-matrix-test.yml index 4b0b8d5e3e6..3f84454ebab 100644 --- a/.github/workflows/manual-matrix-test.yml +++ b/.github/workflows/manual-matrix-test.yml @@ -8,7 +8,7 @@ jobs: name: Get changes runs-on: ubuntu-latest outputs: - matrix: "{\"container\": ${{ steps.changed-files.outputs.all_changed_files }} }" + matrix: ${{ steps.set-matrix.outputs.matrix }} steps: - name: Checkout uses: actions/checkout@v3 @@ -21,7 +21,10 @@ jobs: json: true - name: List all changed files run: | - echo '${{ toJSON(steps.changed-files.outputs.all_changed_files) }}' + echo '${{ steps.changed-files.outputs.all_changed_files }}' + + - id: set-matrix + run: echo "::set-output name=matrix::{\"container\":${{ steps.changed-files.outputs.all_changed_files }}}" matrix-job: name: Run Matrix Job