From c614625f0454da00b285a9942206f3b26fb1bca3 Mon Sep 17 00:00:00 2001 From: AbdBarho Date: Tue, 6 Sep 2022 20:16:28 +0200 Subject: [PATCH] Update AUTOMATIC1111 (#37) --- .github/workflows/docker.yml | 6 +++--- .github/workflows/executable.yml1 | 22 ++++++++++++++++++++++ AUTOMATIC1111/Dockerfile | 5 ++--- AUTOMATIC1111/README.md | 2 ++ 4 files changed, 29 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/executable.yml1 diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 3d6a0ce..2820459 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -6,19 +6,19 @@ on: [push] jobs: build_hlky: runs-on: ubuntu-latest - name: Build hlky + name: hlky steps: - uses: actions/checkout@v3 - run: docker compose build --progress plain build_AUTOMATIC1111: runs-on: ubuntu-latest - name: Build AUTOMATIC1111 + name: AUTOMATIC1111 steps: - uses: actions/checkout@v3 - run: cd AUTOMATIC1111 && docker compose build --progress plain build_lstein: runs-on: ubuntu-latest - name: Build lstein + name: lstein steps: - uses: actions/checkout@v3 - run: cd lstein && docker compose build --progress plain diff --git a/.github/workflows/executable.yml1 b/.github/workflows/executable.yml1 new file mode 100644 index 0000000..45d9c98 --- /dev/null +++ b/.github/workflows/executable.yml1 @@ -0,0 +1,22 @@ +name: Check executable + +on: [push] + +jobs: + check: + runs-on: ubuntu-latest + name: Check all sh + steps: + - run: git config --global core.fileMode true + - uses: actions/checkout@v3 + - shell: bash + run: | + shopt -s globstar; + FAIL=0 + for file in **/*.sh; do + if [ -f "${file}" ] && [ -r "${file}" ] && [ ! -x "${file}" ]; then + echo "$file" is not executable; + FAIL=1 + fi + done + exit ${FAIL} diff --git a/AUTOMATIC1111/Dockerfile b/AUTOMATIC1111/Dockerfile index 185436c..afa319d 100644 --- a/AUTOMATIC1111/Dockerfile +++ b/AUTOMATIC1111/Dockerfile @@ -19,13 +19,12 @@ RUN apt-get update && apt-get install git fonts-dejavu-core -y && apt-get clean RUN <