Skip to content

Commit

Permalink
fix: bug with matrix job (#560)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Aug 3, 2022
1 parent 50a1854 commit bf6ddb7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/manual-matrix-test.yml
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit bf6ddb7

Please sign in to comment.