Skip to content

Commit ddf60f2

Browse files
committed
rework matrix
1 parent 63587c6 commit ddf60f2

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

.github/workflows/build.yml

+10-15
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,14 @@ jobs:
2323
strategy:
2424
fail-fast: false
2525
matrix:
26-
arch: [
27-
x86_64,
28-
aarch64,
29-
]
30-
version-major: [
31-
17,
32-
18,
33-
]
34-
include:
35-
- version-major: 17
36-
version: 17.0.6
37-
- version-major: 18
38-
version: 18.1.8
26+
arch:
27+
- x86_64
28+
- aarch64
29+
version:
30+
- major: 17
31+
full: 17.0.6
32+
- major: 18
33+
full: 18.1.8
3934
steps:
4035
- uses: actions/checkout@v4
4136

@@ -52,8 +47,8 @@ jobs:
5247
context: .
5348
push: true
5449
tags: |
55-
${{ env.REGISTRY }}/${{ github.repository_owner }}/manylinux_2_28_${{ matrix.arch }}-llvm:${{ matrix.version }}
56-
${{ env.REGISTRY }}/${{ github.repository_owner }}/manylinux_2_28_${{ matrix.arch }}-llvm:${{ matrix.version-major }}
50+
${{ env.REGISTRY }}/${{ github.repository_owner }}/manylinux_2_28_${{ matrix.arch }}-llvm:${{ matrix.version.full }}
51+
${{ env.REGISTRY }}/${{ github.repository_owner }}/manylinux_2_28_${{ matrix.arch }}-llvm:${{ matrix.version.major }}
5752
build-args: |
5853
LLVM_TAG=llvmorg-${{ matrix.version }}
5954
ARCH=${{ matrix.arch }}

0 commit comments

Comments
 (0)