From db883334735a1ea6ee397c35a089009fe135462e Mon Sep 17 00:00:00 2001 From: Wil Thieme Date: Tue, 27 Feb 2024 12:52:14 -0500 Subject: [PATCH] only save summary on failure --- .github/workflows/feeds.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/feeds.yml b/.github/workflows/feeds.yml index 78ee18b..cf62816 100644 --- a/.github/workflows/feeds.yml +++ b/.github/workflows/feeds.yml @@ -26,12 +26,7 @@ jobs: - name: Check Feeds run: bundle exec rake test - continue-on-error: true - name: Save Job Summary - if: ${{ hashFiles('error-summary.md') != '' }} + if: failure() run: cat error-summary.md >> $GITHUB_STEP_SUMMARY - - - name: Set Status - if: ${{ failure() }} - run: exit 1