From 90cc3a9be36dfa36a9ed4818f518a9d02f29e829 Mon Sep 17 00:00:00 2001 From: Matthew Alan Gray Date: Tue, 18 Jun 2024 14:50:38 -0500 Subject: [PATCH] Testing check for E2E test failure state --- .github/workflows/e2e-testing.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e-testing.yml b/.github/workflows/e2e-testing.yml index 65cb8bff1a..bd20353670 100644 --- a/.github/workflows/e2e-testing.yml +++ b/.github/workflows/e2e-testing.yml @@ -781,9 +781,11 @@ jobs: - name: Check E2E Test Status uses: actions/github-script@v7 + env: + TEST_RESULTS: ${{ steps.get-e2e-results.outputs.result }} with: script: | - const jsonString = "${{ steps.get-e2e-results.outputs.result }}" + const jsonString = process.env.TEST_RESULTS console.log(jsonString) var data = JSON.parse(jsonString) for (const [key, value] of data.passed) {