From 8c0435b4cd895e18f654b582314f9fbc666beb8c Mon Sep 17 00:00:00 2001 From: Marc Dumais Date: Thu, 13 Mar 2025 10:31:49 -0400 Subject: [PATCH] [CI] include node version in uploaded artifact name This prevents a name clash when the CI job runs for more than one node version, when the workflow is triggered by a release event. Signed-off-by: Marc Dumais --- .github/workflows/ci-cd.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index f969016..5712076 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -36,7 +36,7 @@ jobs: # (when appropriate) - uses: actions/upload-artifact@v4 with: - name: extension + name: extension-${{ matrix.node-version }} path: vscode-trace-server-*.vsix if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'eclipse-cdt-cloud/vscode-trace-server' @@ -79,7 +79,7 @@ jobs: # restore extension from the built-test job - uses: actions/download-artifact@v4 with: - name: extension + name: extension-${{ matrix.node-version }} - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} @@ -111,7 +111,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/download-artifact@v4 with: - name: extension + name: extension-${{ matrix.node-version }} - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }}