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: