From f14ad98f7b92cc6890a44395fe7bb1788fcd7da4 Mon Sep 17 00:00:00 2001 From: alexanderM91 <oleksandr.myrnyi@spryker.com> Date: Mon, 2 Dec 2024 08:21:06 +0100 Subject: [PATCH] echo formatted diff into the cli --- .github/workflows/ci.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f91f9421..adf23244 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -146,11 +146,6 @@ jobs: current_section=$(sed -n "/=== $section ===/,/=== /p" "$current_file" | sed '$d') previous_section=$(sed -n "/=== $section ===/,/=== /p" "$previous_file" | sed '$d') - echo "DEBUG: Extracted current section for $section:" - echo "$current_section" - echo "DEBUG: Extracted previous section for $section:" - echo "$previous_section" - # Compare extracted sections diff_output=$(diff <(echo "$previous_section") <(echo "$current_section") | awk ' /^</ { @@ -164,9 +159,6 @@ jobs: } }') - echo "DEBUG: Diff output for $section:" - echo "$diff_output" - echo "$diff_output" } @@ -190,6 +182,7 @@ jobs: echo "EOF" >> $GITHUB_ENV + - name: Send Slack Notification # if: ${{ github.ref == 'refs/heads/master' && env.DIFF_OUTPUT != '' }} uses: slackapi/slack-github-action@v1.24.0