Skip to content

Commit

Permalink
Add job name to artifact for adopting actions/upload-artifact@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
Kesin11 committed Dec 17, 2023
1 parent c41b769 commit 83355ae
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:
test:
strategy:
matrix:
container:
# - "node:current"
- "node:lts"
- "node:20"
container_tag:
# - "current"
- "lts"
- "20"
fail-fast: false

runs-on: ubuntu-latest
container:
image: ${{ matrix.container }}
image: "node:${{ matrix.container_tag }}"

steps:
- uses: actions/checkout@v4
Expand All @@ -30,21 +30,21 @@ jobs:
- run: npm run test
- uses: actions/upload-artifact@v4
with:
name: junit test reports
name: "junit test reports node:${{ matrix.container_tag }}"
path: junit

cli_test:
strategy:
matrix:
container:
# - "node:current"
- "node:lts"
- "node:20"
container_tag:
# - "current"
- "lts"
- "20"
fail-fast: false

runs-on: ubuntu-latest
container:
image: ${{ matrix.container }}
image: "node:${{ matrix.container_tag }}"

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 83355ae

Please sign in to comment.