Skip to content

Commit

Permalink
fix: remove output
Browse files Browse the repository at this point in the history
  • Loading branch information
wy-luke committed Sep 14, 2023
1 parent 485ca74 commit 54d7a0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ jobs:
sparse-checkout: sd-installer.sh
sparse-checkout-cone-mode: false
- name: Install
run: |
tty=$(tty)
bash sd-installer.sh -t -1 | tee $tty | grep -q 'Launching Web UI with arguments' && echo '成功 Success' && exit 0
run: bash sd-installer.sh -t -1 | grep -q 'Launching Web UI with arguments' && echo '成功 Success' && exit 0
shell: /bin/bash --noprofile --norc -e {0}

Network-Connected-Test-12:
Expand All @@ -39,7 +37,5 @@ jobs:
runs-on: macos-latest
steps:
- name: Install
run: |
tty=$(tty)
curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/wy-luke/StableDiffusion-Installer-For-Mac/$BRANCH_NAME/sd-installer.sh | /bin/bash -s -- -c -t -2 | tee $tty | grep -q 'Launching Web UI with arguments' && echo '成功 Success' && exit 0
run: curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/wy-luke/StableDiffusion-Installer-For-Mac/$BRANCH_NAME/sd-installer.sh | /bin/bash -s -- -c -t -2 # | grep -q 'Launching Web UI with arguments' && echo '成功 Success' && exit 0
shell: /bin/bash --noprofile --norc -e {0}
4 changes: 2 additions & 2 deletions sd-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ done
if [ "$test_mode" != 0 ]; then
if [ "$test_mode" == 1 ]; then
network_connected=true
echo_green "Yes-test"
echo_green "Network-Connected-Test"
else
network_connected=false
echo_green "No-test"
echo_green "Network-Not-Connected-Test"
fi
else
# echo_green "For non-Chinese users, you could just ignore this and press the Enter key"
Expand Down

0 comments on commit 54d7a0b

Please sign in to comment.