Skip to content

Commit

Permalink
fix: auto stop action
Browse files Browse the repository at this point in the history
  • Loading branch information
wy-luke committed Sep 5, 2023
1 parent da99141 commit 5fe0b02
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ jobs:
sparse-checkout: sd-installer.sh
sparse-checkout-cone-mode: false
- name: Yes
run: |
tty=$(tty)
bash sd-installer.sh -1 | tee $tty | grep -q 'loading stable diffusion model' && echo "成功 Success" && exit
run: bash sd-installer.sh -1 | grep -q 'loading stable diffusion model' && echo "成功 Success" && exit 0
shell: bash

No-Test:
Expand All @@ -29,7 +27,5 @@ jobs:
sparse-checkout: sd-installer.sh
sparse-checkout-cone-mode: false
- name: No
run: |
tty=$(tty)
bash sd-installer.sh -2 | tee $tty | grep -q 'loading stable diffusion model' && echo "成功 Success" && exit
run: bash sd-installer.sh -2 | grep -q 'loading stable diffusion model' && echo "成功 Success" && exit 0
shell: bash

0 comments on commit 5fe0b02

Please sign in to comment.