From 1f6ac618f955726c2f400bdde3f01fd0c015693d Mon Sep 17 00:00:00 2001 From: Bhavin Patel Date: Tue, 9 Jul 2024 12:21:44 -0700 Subject: [PATCH] updating bash variables --- .github/workflows/unit-testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit-testing.yml b/.github/workflows/unit-testing.yml index ea47b2855a..4e3c7f9727 100644 --- a/.github/workflows/unit-testing.yml +++ b/.github/workflows/unit-testing.yml @@ -36,7 +36,7 @@ jobs: git checkout ${{ github.head_ref }} echo "The target branch for this PR is ${{ github.base_ref }}" # contentctl test --disable-tqdm --no-enable-integration-testing --post-test-behavior never_pause mode:changes --mode.target-branch ${{ github.base_ref }} - output = $(echo "With Detection Testing Mode 'Changes', there were [0] detections found to test.") + output=$(echo "With Detection Testing Mode 'Changes', there were [0] detections found to test.") detections=$(echo "$output" | grep -oP 'there were \[\K[0-9]+(?=\] detections found to test)') echo "::set-output name=detections::$detections" echo "contentctl test - COMPLETED"