From 83355ae59fe054c2618879089f45413bf456b486 Mon Sep 17 00:00:00 2001 From: Kenta Kase Date: Sun, 17 Dec 2023 15:46:57 +0000 Subject: [PATCH] Add job name to artifact for adopting actions/upload-artifact@v4 --- .github/workflows/ci.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index abb377d..460e56c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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