From 2746781d9bbe15e6eb9cd9cb3c4df804dd594b2d Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Thu, 17 Nov 2022 18:46:54 +0100 Subject: [PATCH] ci(actions): Nothing to build is not an error. Signed-off-by: rjshrjndrn --- .github/workflows/workers-ee.yaml | 2 +- .github/workflows/workers.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workers-ee.yaml b/.github/workflows/workers-ee.yaml index 3cc9282bc..b2b202e93 100644 --- a/.github/workflows/workers-ee.yaml +++ b/.github/workflows/workers-ee.yaml @@ -86,7 +86,7 @@ jobs: ;; esac - [[ $(cat /tmp/images_to_build.txt) != "" ]] || (echo "Nothing to build here"; exit 1) + [[ $(cat /tmp/images_to_build.txt) != "" ]] || (echo "Nothing to build here"; exit 0) # # Pushing image to registry # diff --git a/.github/workflows/workers.yaml b/.github/workflows/workers.yaml index 341a196ad..4283adef2 100644 --- a/.github/workflows/workers.yaml +++ b/.github/workflows/workers.yaml @@ -86,7 +86,7 @@ jobs: ;; esac - [[ $(cat /tmp/images_to_build.txt) != "" ]] || (echo "Nothing to build here"; exit 1) + [[ $(cat /tmp/images_to_build.txt) != "" ]] || (echo "Nothing to build here"; exit 0) # # Pushing image to registry #