Skip to content

Commit 414af88

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

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
@@ -15,15 +15,15 @@ jobs:
1515
prepare:
1616
runs-on: ubuntu-latest
1717
outputs:
18-
targets: ${{ steps.generate.outputs.targets }}
18+
matrix: ${{ steps.generate.outputs.matrix }}
1919
steps:
2020
-
2121
name: Checkout
2222
uses: actions/checkout@v6
2323
-
24-
name: List targets
24+
name: Generate matrix
2525
id: generate
26-
uses: docker/bake-action/subaction/list-targets@v7
26+
uses: docker/bake-action/subaction/matrix@v7
2727
with:
2828
target: validate
2929

@@ -34,7 +34,7 @@ jobs:
3434
strategy:
3535
fail-fast: false
3636
matrix:
37-
target: ${{ fromJson(needs.prepare.outputs.targets) }}
37+
include: ${{ fromJson(needs.prepare.outputs.matrix) }}
3838
steps:
3939
-
4040
name: Validate

0 commit comments

Comments
 (0)