Skip to content

Commit 5fc244f

Browse files
author
Jos Martin
committed
Can't use a better matrix build
1 parent 8b6d36b commit 5fc244f

File tree

1 file changed

+31
-10
lines changed

1 file changed

+31
-10
lines changed

.github/workflows/release-all-debian.yaml

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,42 @@ on:
99
schedule:
1010
- cron: '0 0 1 * *'
1111

12+
# Wish I could use a matrix strategy here - tried to and discovered that there are limitations
13+
# The strategy property is not supported in any job that calls a reusable workflow.
14+
# from https://docs.github.com/en/actions/using-workflows/reusing-workflows#limitations
1215
jobs:
13-
build-all-debian:
14-
strategy:
15-
matrix:
16-
tag: [stretch buster bullseye]
16+
build-debian-stretch:
1717
uses: ./.github/workflows/build-glibc-and-release.yaml
1818
with:
1919
dist-base: debian
20-
dist-tag: ${{ matrix.tag }}
20+
dist-tag: stretch
2121

22-
build-all-ubuntu:
23-
strategy:
24-
matrix:
25-
tag: [bionic focal hirsute]
22+
build-debian-buster:
23+
uses: ./.github/workflows/build-glibc-and-release.yaml
24+
with:
25+
dist-base: debian
26+
dist-tag: buster
27+
28+
build-debian-bullseye:
29+
uses: ./.github/workflows/build-glibc-and-release.yaml
30+
with:
31+
dist-base: debian
32+
dist-tag: bullseye
33+
34+
build-ubuntu-bionic:
35+
uses: ./.github/workflows/build-glibc-and-release.yaml
36+
with:
37+
dist-base: ubuntu
38+
dist-tag: bionic
39+
40+
build-ubuntu-focal:
41+
uses: ./.github/workflows/build-glibc-and-release.yaml
42+
with:
43+
dist-base: ubuntu
44+
dist-tag: focal
45+
46+
build-ubuntu-hirsute:
2647
uses: ./.github/workflows/build-glibc-and-release.yaml
2748
with:
2849
dist-base: ubuntu
29-
dist-tag: ${{ matrix.tag }}
50+
dist-tag: hirsute

0 commit comments

Comments
 (0)