mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-28 15:37:39 +01:00
Update onpush_builder.yaml
This commit is contained in:
6
.github/workflows/onpush_builder.yaml
vendored
6
.github/workflows/onpush_builder.yaml
vendored
@@ -50,8 +50,10 @@ jobs:
|
|||||||
set -e
|
set -e
|
||||||
cd "${{ matrix.addon }}"
|
cd "${{ matrix.addon }}"
|
||||||
# Normalize unicode (non-breaking) spaces to regular spaces
|
# Normalize unicode (non-breaking) spaces to regular spaces
|
||||||
find . -type f ! -path "./.git/*" | while read -r file; do
|
find . -type f ! -path "./.git/*" \
|
||||||
LC_ALL=C sed -i 's/\xC2\xA0/ /g' "$file"
|
! -iname "*.png" ! -iname "*.jpg" ! -iname "*.jpeg" \
|
||||||
|
! -iname "*.gif" ! -iname "*.svg" ! -iname "*.webp" ! -iname "*.ico" ! -iname "*.bmp" \
|
||||||
|
! -iname "*.pdf" | while read -r file; do LC_ALL=C sed -i 's/\xC2\xA0/ /g' "$file"
|
||||||
done
|
done
|
||||||
# Make all .sh scripts executable
|
# Make all .sh scripts executable
|
||||||
find . -type f -iname "*.sh" -exec chmod u+x {} \;
|
find . -type f -iname "*.sh" -exec chmod u+x {} \;
|
||||||
|
|||||||
Reference in New Issue
Block a user