Skip to content

Commit

Permalink
ci: avoid name clashes in matrix jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
keynslug committed Dec 23, 2024
1 parent 2b52e97 commit 715ba2f
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/run_test_case.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
builder:
- "ghcr.io/emqx/emqx-builder/5.3-5:1.15.7-26.2.1-2-ubuntu24.04"
- "ghcr.io/emqx/emqx-builder/5.4-3:1.17.3-27.2-1-ubuntu24.04"
otp:
- vsn: "26.2.1-2"
builder: "5.3-5:1.15.7-26.2.1-2-ubuntu24.04"
- vsn: "27.2-1"
builder: "5.4-3:1.17.3-27.2-1-ubuntu24.04"

container:
image: ${{ matrix.builder }}
image: "ghcr.io/emqx/emqx-builder/${{ matrix.otp.builder }}"

steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
Expand All @@ -33,6 +35,7 @@ jobs:
make eunit
make ct
make cover
- name: Coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -41,9 +44,9 @@ jobs:
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
if: always()
with:
name: logs
name: "logs-${{ matrix.otp.vsn }}"
path: _build/test/logs
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: cover
name: "cover-${{ matrix.otp.vsn }}"
path: _build/test/cover

0 comments on commit 715ba2f

Please sign in to comment.