From 85e3fbc1c73872b1dfd8aee1f1dcef26b9f37761 Mon Sep 17 00:00:00 2001 From: tomasz-io Date: Wed, 18 Dec 2024 15:39:23 -0800 Subject: [PATCH] fix: artifact name --- .github/workflows/pr_checks.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr_checks.yaml b/.github/workflows/pr_checks.yaml index d15ab4642..b60869894 100644 --- a/.github/workflows/pr_checks.yaml +++ b/.github/workflows/pr_checks.yaml @@ -437,11 +437,16 @@ jobs: env: DISPLAY: :99 + - name: Set artifact name + shell: bash + run: | + echo "ARTIFACT_NAME=e2e-screenshots-$(echo '${{ matrix.test_file }}' | tr '/' '_')" >> $GITHUB_ENV + - name: Upload e2e test screenshots if: failure() uses: actions/upload-artifact@v4 with: - name: e2e-screenshots-${{ replace(matrix.test_file, '/', '_') }} + name: ${{ env.ARTIFACT_NAME }} path: extensions/vscode/e2e/storage/screenshots gui-tests: