We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e46581 commit 579b94fCopy full SHA for 579b94f
.github/workflows/check-publish.yml
@@ -46,12 +46,6 @@ jobs:
46
echo "packagist_status=failure" >> $GITHUB_ENV
47
fi
48
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
-
55
- name: Send slack Notification on Success
56
if: ${{ env.packagist_status == 'success' }}
57
uses: ./xero-php-oauth2/.github/actions/notify-slack
@@ -77,3 +71,9 @@ jobs:
77
71
button_type: "danger"
78
72
package_version: ${{env.php_version}}
79
73
repo_link: ${{github.server_url}}/${{github.repository}}
74
+
75
+ - name: Fail job if status is Failure
76
+ if: ${{env.packagist_status == 'failure'}}
+ run: |
+ echo "Job failed because packgist is not updated"
+ exit 1
0 commit comments