Skip to content

Commit 8d0b9c0

Browse files
authored
Fail if cancelled for bench
1 parent b203b8a commit 8d0b9c0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/bench.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,5 @@ jobs:
203203
echo "jobs info: ${{ toJSON(needs) }}"
204204
- if: contains(needs.*.result, 'failure')
205205
run: exit 1
206-
- if: contains(needs.*.result, 'cancelled')
207-
name: cancelling
208-
uses: andymckay/[email protected]
209-
- name: Waiting for cancellation
210-
run: sleep 60
206+
- if: contains(needs.*.result, 'cancelled') && needs.pre_job.outputs.should_skip != 'true'
207+
run: exit 1

0 commit comments

Comments
 (0)