Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 715ba2f

Browse files
committedDec 23, 2024··
ci: avoid name clashes in matrix jobs
1 parent 2b52e97 commit 715ba2f

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed
 

‎.github/workflows/run_test_case.yaml

+9-6
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
builder:
17-
- "ghcr.io/emqx/emqx-builder/5.3-5:1.15.7-26.2.1-2-ubuntu24.04"
18-
- "ghcr.io/emqx/emqx-builder/5.4-3:1.17.3-27.2-1-ubuntu24.04"
16+
otp:
17+
- vsn: "26.2.1-2"
18+
builder: "5.3-5:1.15.7-26.2.1-2-ubuntu24.04"
19+
- vsn: "27.2-1"
20+
builder: "5.4-3:1.17.3-27.2-1-ubuntu24.04"
1921

2022
container:
21-
image: ${{ matrix.builder }}
23+
image: "ghcr.io/emqx/emqx-builder/${{ matrix.otp.builder }}"
2224

2325
steps:
2426
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
@@ -33,6 +35,7 @@ jobs:
3335
make eunit
3436
make ct
3537
make cover
38+
3639
- name: Coveralls
3740
env:
3841
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -41,9 +44,9 @@ jobs:
4144
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
4245
if: always()
4346
with:
44-
name: logs
47+
name: "logs-${{ matrix.otp.vsn }}"
4548
path: _build/test/logs
4649
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
4750
with:
48-
name: cover
51+
name: "cover-${{ matrix.otp.vsn }}"
4952
path: _build/test/cover

0 commit comments

Comments
 (0)
Please sign in to comment.