From 7e465810cf7c8d421f866f24bc6d180d94025e0f Mon Sep 17 00:00:00 2001 From: sangeet-joy_xero Date: Tue, 22 Oct 2024 18:41:57 +0530 Subject: [PATCH] ci: added exit 1 --- .github/workflows/check-publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-publish.yml b/.github/workflows/check-publish.yml index 5f31dd77..662a1ac0 100644 --- a/.github/workflows/check-publish.yml +++ b/.github/workflows/check-publish.yml @@ -49,7 +49,8 @@ jobs: - name: Fail job if status is Failure if: ${{env.packagist_status == 'failure'}} run: | - echo "Job failed because packgist is not updated" + echo "Job failed because packgist is not updated" + exit 1 - name: Send slack Notification on Success if: ${{ env.packagist_status == 'success' }}