Skip to content

Commit

Permalink
fix: auto stop
Browse files Browse the repository at this point in the history
  • Loading branch information
wy-luke committed Sep 12, 2023
1 parent 9fe42d9 commit 1f3bf83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
sparse-checkout-cone-mode: false
- name: Yes
run: |
until bash sd-installer.sh -1 | grep -m 1 "Launching Web UI with arguments"; do : ; done
bash sd-installer.sh -1 | tee >(grep -q 'Launching Web UI with arguments' && echo "成功 Success" && exit 0)
shell: /bin/bash --noprofile --norc -e {0}

No-Test:
Expand All @@ -29,5 +29,5 @@ jobs:
sparse-checkout-cone-mode: false
- name: No
run: |
bash sd-installer.sh -1 | grep -q 'Launching Web UI with arguments' && echo "成功 Success" && exit 0
bash sd-installer.sh -2 | tee >(grep -q 'Launching Web UI with arguments' && echo "成功 Success" && exit 0)
shell: /bin/bash --noprofile --norc -e {0}

0 comments on commit 1f3bf83

Please sign in to comment.