Skip to content

Commit

Permalink
ci: testing the flow
Browse files Browse the repository at this point in the history
  • Loading branch information
sangeet-joy_xero committed Oct 22, 2024
1 parent 7e46581 commit 579b94f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/check-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@ jobs:
echo "packagist_status=failure" >> $GITHUB_ENV
fi
- name: Fail job if status is Failure
if: ${{env.packagist_status == 'failure'}}
run: |
echo "Job failed because packgist is not updated"
exit 1
- name: Send slack Notification on Success
if: ${{ env.packagist_status == 'success' }}
uses: ./xero-php-oauth2/.github/actions/notify-slack
Expand All @@ -77,3 +71,9 @@ jobs:
button_type: "danger"
package_version: ${{env.php_version}}
repo_link: ${{github.server_url}}/${{github.repository}}

- name: Fail job if status is Failure
if: ${{env.packagist_status == 'failure'}}
run: |
echo "Job failed because packgist is not updated"
exit 1

0 comments on commit 579b94f

Please sign in to comment.