Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: bug with matrix job #560

Merged
merged 4 commits into from Aug 3, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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