Skip to content

Commit f1e6f8a

Browse files
author
Gu Shiwei
authored
Update example-workflow.yml
1 parent 7fa111e commit f1e6f8a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/example-workflow.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
id: not-bypass
6565
run: |
6666
echo "::error ::Action not skipped, needs.check-bypass.outputs.can-skip is ${{ needs.check-bypass.outputs.can-skip }}"
67+
exit 1
6768
6869
test-action-bypass:
6970
needs: check-bypass
@@ -74,4 +75,6 @@ jobs:
7475
steps:
7576
- name: Action Skipped
7677
id: bypass
77-
run: echo "::error ::Action skipped"
78+
run: |
79+
echo "::error ::Action skipped"
80+
exit 1

0 commit comments

Comments
 (0)