fix: bug with matrix job (#560)
This commit is contained in:
parent
50a1854730
commit
bf6ddb7db6
7
.github/workflows/manual-matrix-test.yml
vendored
7
.github/workflows/manual-matrix-test.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user