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
|
name: Get changes
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
matrix: "{\"container\": ${{ steps.changed-files.outputs.all_changed_files }} }"
|
matrix: ${{ steps.set-matrix.outputs.matrix }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -21,7 +21,10 @@ jobs:
|
|||||||
json: true
|
json: true
|
||||||
- name: List all changed files
|
- name: List all changed files
|
||||||
run: |
|
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:
|
matrix-job:
|
||||||
name: Run Matrix Job
|
name: Run Matrix Job
|
||||||
|
Loading…
x
Reference in New Issue
Block a user