mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-02-08 00:24:25 +01:00
yaml
This commit is contained in:
parent
fe2316ef48
commit
d1f7871aab
18
.github/workflows/executable.yml
vendored
18
.github/workflows/executable.yml
vendored
|
|
@ -5,13 +5,15 @@ on: [push]
|
|||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
name: Check all sh
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: |
|
||||
shopt -s globstar
|
||||
for file in **/*.sh; do
|
||||
if [ -f "${file}" ] && [ -r "${file}" ] && [ ! -x "${file}" ]; then
|
||||
echo "$file" is not executable;
|
||||
exit 1;
|
||||
done
|
||||
done
|
||||
- shell: run
|
||||
run: |
|
||||
shopt -s globstar;
|
||||
for file in **/*.sh; do
|
||||
if [ -f "${file}" ] && [ -r "${file}" ] && [ ! -x "${file}" ]; then
|
||||
echo "$file" is not executable;
|
||||
exit 1;
|
||||
fi
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in a new issue