diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ea725ff..645a6fd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,9 +15,8 @@ jobs: sparse-checkout: sd-installer.sh sparse-checkout-cone-mode: false - name: Yes - run: | - until bash sd-installer.sh -1 | grep -m 1 "Launching Web UI with arguments"; do : ; done - shell: bash + run: bash sd-installer.sh -1 | grep -q 'Launching Web UI with arguments' && echo "成功 Success" && exit 0 + shell: /bin/bash --noprofile --norc -e {0} No-Test: runs-on: macos-latest @@ -28,6 +27,5 @@ jobs: sparse-checkout: sd-installer.sh sparse-checkout-cone-mode: false - name: No - run: | - until bash sd-installer.sh -2 | grep -m 1 "Launching Web UI with arguments"; do : ; done - shell: bash + run: bash sd-installer.sh -2 | grep -q 'Launching Web UI with arguments' && echo "成功 Success" && exit 0 + shell: /bin/bash --noprofile --norc -e {0} diff --git a/README.md b/README.md index cc0e2c2..c8fbf84 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ # Stable Diffusion Installer For Mac -[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits&logoColor=white)](https://conventionalcommits.org) ![GitHub commit activity (branch)](https://img.shields.io/github/commit-activity/t/wy-luke/StableDiffusion-Installer-For-Mac) ![GitHub release (with filter)](https://img.shields.io/github/v/release/wy-luke/StableDiffusion-Installer-For-Mac) +[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits&logoColor=white)](https://conventionalcommits.org) ![GitHub commit activity (branch)](https://img.shields.io/github/commit-activity/t/wy-luke/StableDiffusion-Installer-For-Mac) ![GitHub release (with filter)](https://img.shields.io/github/v/release/wy-luke/StableDiffusion-Installer-For-Mac) [![Test](https://github.com/wy-luke/StableDiffusion-Installer-For-Mac/actions/workflows/test.yml/badge.svg)](https://github.com/wy-luke/StableDiffusion-Installer-For-Mac/actions/workflows/test.yml) Assist you in **quickly and effortlessly** installing the Stable Diffusion web UI on your Mac. diff --git a/README_CN.md b/README_CN.md index a0c3578..19d0595 100644 --- a/README_CN.md +++ b/README_CN.md @@ -4,7 +4,7 @@ # Stable Diffusion Installer For Mac -[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits&logoColor=white)](https://conventionalcommits.org) ![GitHub commit activity (branch)](https://img.shields.io/github/commit-activity/t/wy-luke/StableDiffusion-Installer-For-Mac) ![GitHub release (with filter)](https://img.shields.io/github/v/release/wy-luke/StableDiffusion-Installer-For-Mac) +[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits&logoColor=white)](https://conventionalcommits.org) ![GitHub commit activity (branch)](https://img.shields.io/github/commit-activity/t/wy-luke/StableDiffusion-Installer-For-Mac) ![GitHub release (with filter)](https://img.shields.io/github/v/release/wy-luke/StableDiffusion-Installer-For-Mac) [![Test](https://github.com/wy-luke/StableDiffusion-Installer-For-Mac/actions/workflows/test.yml/badge.svg)](https://github.com/wy-luke/StableDiffusion-Installer-For-Mac/actions/workflows/test.yml) 帮助你**快速、轻松**地将 Stable Diffusion web UI 安装在你的 mac 上。