Skip to content

Commit 7edafa3

Browse files
committed
reorder negative test case steps.
1 parent 8cb8a43 commit 7edafa3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/test-negative.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,16 @@ jobs:
6363
issue-number: ${{ fromJSON(steps.action.outputs.result).comments[0].pull_request }}
6464
body-includes: ${{ needs.create-release.outputs.tag }}
6565

66-
- name: Succeed if comment was not found
67-
if: ${{ always() && steps.fc.outputs.comment-id == 0 }}
68-
run: |
69-
exit 0
70-
7166
- name: Fail if comment was found
7267
if: ${{ always() && steps.fc.outputs.comment-id != 0 }}
7368
run: |
7469
exit 1
7570
71+
- name: Succeed if comment was not found
72+
if: ${{ always() && steps.fc.outputs.comment-id == 0 }}
73+
run: |
74+
exit 0
75+
7676
teardown:
7777
runs-on: ubuntu-latest
7878
needs: [create-release, assert]

0 commit comments

Comments
 (0)