From 744551dab279d4dcf94bbacc997a48fb310a3d4c Mon Sep 17 00:00:00 2001 From: Zakaria Mansouri Date: Sun, 15 Sep 2024 13:32:09 +0200 Subject: [PATCH] make artifact uniq per matrix --- .github/workflows/cd.deploy.stg.yml | 2 +- .github/workflows/cd.deploy.yml | 2 +- .github/workflows/ci.reusable.build.yml | 2 +- .github/workflows/ci.reusable.lint.yml | 2 +- .github/workflows/ci.reusable.misc.yml | 2 +- .github/workflows/ci.reusable.test-coverage.yml | 2 +- .github/workflows/ci.reusable.test-e2e.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cd.deploy.stg.yml b/.github/workflows/cd.deploy.stg.yml index 1fbf69efb..f13b6e7b6 100644 --- a/.github/workflows/cd.deploy.stg.yml +++ b/.github/workflows/cd.deploy.stg.yml @@ -36,7 +36,7 @@ jobs: - name: Download artifact uses: actions/download-artifact@v4 with: - name: build output + name: build output (ubuntu-latest, 20) - name: "SSH" uses: shimataro/ssh-key-action@v2 with: diff --git a/.github/workflows/cd.deploy.yml b/.github/workflows/cd.deploy.yml index 89413fdd5..b93e07419 100644 --- a/.github/workflows/cd.deploy.yml +++ b/.github/workflows/cd.deploy.yml @@ -35,7 +35,7 @@ jobs: - name: Download artifact uses: actions/download-artifact@v4 with: - name: build output + name: build output (ubuntu-latest, 20) - name: "SSH" uses: shimataro/ssh-key-action@v2 with: diff --git a/.github/workflows/ci.reusable.build.yml b/.github/workflows/ci.reusable.build.yml index d2b934cdb..c1ad3a1cd 100644 --- a/.github/workflows/ci.reusable.build.yml +++ b/.github/workflows/ci.reusable.build.yml @@ -24,7 +24,7 @@ jobs: - name: Upload artifact uses: actions/upload-artifact@v4 with: - name: build output + name: build output (${{ inputs.os }}, ${{ inputs.node-version }}) path: | **/dist/** if-no-files-found: error diff --git a/.github/workflows/ci.reusable.lint.yml b/.github/workflows/ci.reusable.lint.yml index 7106576ba..b42b261a9 100644 --- a/.github/workflows/ci.reusable.lint.yml +++ b/.github/workflows/ci.reusable.lint.yml @@ -23,5 +23,5 @@ jobs: - name: Download artifact uses: actions/download-artifact@v4 with: - name: build output + name: build output (${{ inputs.os }}, ${{ inputs.node-version }}) - run: npm run lint:alone diff --git a/.github/workflows/ci.reusable.misc.yml b/.github/workflows/ci.reusable.misc.yml index bb4c18687..6ede01bd4 100644 --- a/.github/workflows/ci.reusable.misc.yml +++ b/.github/workflows/ci.reusable.misc.yml @@ -23,7 +23,7 @@ jobs: - name: Download artifact uses: actions/download-artifact@v4 with: - name: build output + name: build output (${{ inputs.os }}, ${{ inputs.node-version }}) - run: npx lerna run bundle:alone --scope @dzcode.io/web - run: npx lerna run generate:sitemap --scope @dzcode.io/web - run: npx lerna run generate:htmls --scope @dzcode.io/web diff --git a/.github/workflows/ci.reusable.test-coverage.yml b/.github/workflows/ci.reusable.test-coverage.yml index dfd9cb78d..4392f910f 100644 --- a/.github/workflows/ci.reusable.test-coverage.yml +++ b/.github/workflows/ci.reusable.test-coverage.yml @@ -23,5 +23,5 @@ jobs: - name: Download artifact uses: actions/download-artifact@v4 with: - name: build output + name: build output (${{ inputs.os }}, ${{ inputs.node-version }}) - run: npm run test:alone -- -- --coverage diff --git a/.github/workflows/ci.reusable.test-e2e.yml b/.github/workflows/ci.reusable.test-e2e.yml index c9d92ff27..440aec13c 100644 --- a/.github/workflows/ci.reusable.test-e2e.yml +++ b/.github/workflows/ci.reusable.test-e2e.yml @@ -28,7 +28,7 @@ jobs: - name: Download artifact uses: actions/download-artifact@v4 with: - name: build output + name: build output (${{ inputs.os }}, ${{ inputs.node-version }}) - name: "E2E" uses: cypress-io/github-action@v6 with: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 9473f11fd..e833031ba 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -43,7 +43,7 @@ jobs: - name: Download artifact uses: actions/download-artifact@v4 with: - name: build output + name: build output (ubuntu-latest, 20) - name: "CodeQL setup for ${{ matrix.language }}" uses: github/codeql-action/init@v3