From d558e3095846e6d23226cb530fe4e4d3fb78a69e Mon Sep 17 00:00:00 2001 From: Djuri Baars Date: Sun, 19 Nov 2023 16:05:46 +0100 Subject: [PATCH] Retry condition --- .github/workflows/workflow.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index f885836..bb1347b 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -22,14 +22,10 @@ jobs: echo "Changed files count: ${{ steps.changed-files.outputs.all_changed_and_modified_files_count }}" - - name: Fail if less than 2 changes detected - if: steps.changed-files.outputs.all_changed_and_modified_files_count < 2 - run: exit 1 - build: needs: check-changes runs-on: ubuntu-latest - if: ${{ needs.check-changes.result == 'success' }} + if: steps.changed-files.outputs.all_changed_and_modified_files_count >= 2 permissions: contents: write