Skip to content

Commit 579b94f

Browse files
author
sangeet-joy_xero
committed
ci: testing the flow
1 parent 7e46581 commit 579b94f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/check-publish.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,6 @@ jobs:
4646
echo "packagist_status=failure" >> $GITHUB_ENV
4747
fi
4848
49-
- name: Fail job if status is Failure
50-
if: ${{env.packagist_status == 'failure'}}
51-
run: |
52-
echo "Job failed because packgist is not updated"
53-
exit 1
54-
5549
- name: Send slack Notification on Success
5650
if: ${{ env.packagist_status == 'success' }}
5751
uses: ./xero-php-oauth2/.github/actions/notify-slack
@@ -77,3 +71,9 @@ jobs:
7771
button_type: "danger"
7872
package_version: ${{env.php_version}}
7973
repo_link: ${{github.server_url}}/${{github.repository}}
74+
75+
- name: Fail job if status is Failure
76+
if: ${{env.packagist_status == 'failure'}}
77+
run: |
78+
echo "Job failed because packgist is not updated"
79+
exit 1

0 commit comments

Comments
 (0)