Skip to content

Commit 960acb2

Browse files
committed
ci: switch to matrix subaction
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 parent 211c9b2 commit 960acb2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/validate.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ jobs:
1717
prepare:
1818
runs-on: ubuntu-latest
1919
outputs:
20-
targets: ${{ steps.generate.outputs.targets }}
20+
matrix: ${{ steps.generate.outputs.matrix }}
2121
steps:
2222
-
2323
name: Checkout
2424
uses: actions/checkout@v6
2525
-
26-
name: List targets
26+
name: Generate matrix
2727
id: generate
28-
uses: docker/bake-action/subaction/list-targets@v7
28+
uses: docker/bake-action/subaction/matrix@v7
2929
with:
3030
target: validate
3131

@@ -36,7 +36,7 @@ jobs:
3636
strategy:
3737
fail-fast: false
3838
matrix:
39-
target: ${{ fromJson(needs.prepare.outputs.targets) }}
39+
include: ${{ fromJson(needs.prepare.outputs.matrix) }}
4040
steps:
4141
-
4242
name: Validate

0 commit comments

Comments
 (0)