Add check for event trigger in buildx action
parent
1b7d3edd30
commit
d4e5984ccd
|
@ -14,6 +14,9 @@ jobs:
|
|||
- name: Wait for tests to succeed
|
||||
if: ${{ github.event.workflow_run.conclusion != 'success' }}
|
||||
run: exit 1
|
||||
- name: Check trigger event
|
||||
if: ${{ github.event_name != 'push' }}
|
||||
run: exit 0
|
||||
- name: checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: install buildx
|
||||
|
|
Loading…
Reference in New Issue