Skip to content

Commit

Permalink
Incupsulate configs
Browse files Browse the repository at this point in the history
  • Loading branch information
goruha committed Dec 7, 2023
1 parent 3cbcb63 commit b845864
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-matrix-2-levels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
nested-matrices-count: '2'

outputs:
affected: "${{ steps.current.outputs.affected }}"
selected-components: "${{ steps.current.outputs.selected-components }}"
matrix: "${{ steps.current.outputs.matrix }}"

assert:
Expand All @@ -38,7 +38,7 @@ jobs:
- uses: nick-fields/assert-action@v1
with:
expected: '[{"component":"test-2","stack":"core-ue2-auto","stack_slug":"core-ue2-auto-test-2"},{"component":"test-4","stack":"plat-ue2-dev","stack_slug":"plat-ue2-dev-test-4"},{"component":"test-5","stack":"plat-ue2-sandbox","stack_slug":"plat-ue2-sandbox-test-5"}]'
actual: "${{ needs.test.outputs.affected }}"
actual: "${{ needs.test.outputs.selected-components }}"

- uses: nick-fields/assert-action@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-matrix-3-levels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
nested-matrices-count: '3'

outputs:
affected: "${{ steps.current.outputs.affected }}"
selected-components: "${{ steps.current.outputs.selected-components }}"
matrix: "${{ steps.current.outputs.matrix }}"

assert:
Expand All @@ -39,7 +39,7 @@ jobs:
- uses: nick-fields/assert-action@v1
with:
expected: '[{"component":"test-2","stack":"core-ue2-auto","stack_slug":"core-ue2-auto-test-2"},{"component":"test-4","stack":"plat-ue2-dev","stack_slug":"plat-ue2-dev-test-4"},{"component":"test-5","stack":"plat-ue2-sandbox","stack_slug":"plat-ue2-sandbox-test-5"}]'
actual: "${{ needs.test.outputs.affected }}"
actual: "${{ needs.test.outputs.selected-components }}"

- uses: nick-fields/assert-action@v1
with:
Expand Down

0 comments on commit b845864

Please sign in to comment.