Skip to content

Commit dd697f6

Browse files
committed
(gh-29) Fix matrix to allow for other platforms
The simple cross product would breakdown the moment we add another platform like Debian or Rocky, since it would cross all versions with all platforms leading to curious os version combinations...
1 parent 2a5a011 commit dd697f6

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/acceptance.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,21 +51,19 @@ jobs:
5151
strategy:
5252
matrix:
5353
os:
54-
- ubuntu
55-
os-version:
56-
- '18.04'
57-
- '20.04'
58-
- '22.04'
59-
- '24.04'
54+
- [ubuntu, '18.04']
55+
- [ubuntu, '20.04']
56+
- [ubuntu, '22.04']
57+
- [ubuntu, '24.04']
6058
steps:
6159
- uses: actions/checkout@v4
6260
with:
6361
fetch-depth: 0
6462
- id: vm-cluster
6563
uses: jpartlow/kvm_automation_tooling@main
6664
with:
67-
os: ${{ matrix.os }}
68-
os-version: ${{ matrix.os-version }}
65+
os: ${{ matrix.os[0] }}
66+
os-version: ${{ matrix.os[1] }}
6967
os-arch: x86_64
7068
host-root-access: true
7169
ruby-version: ${{ env.RUBY_VERSION }}

0 commit comments

Comments
 (0)