fix issues

This commit is contained in:
boubou19 2025-07-23 22:06:27 +02:00
parent fa10d52e7e
commit 12170bde1f

View File

@ -20,15 +20,7 @@ jobs:
find . -type f -name "*.png" ! -path "./.git/*" -exec optipng -o7 -nc {} +
- name: Check for changes
id: git-diff
run: |
if [[ -n "$(git status --porcelain)" ]]; then
echo "changed=true"
else
echo "changed=false"
fi
- name: Check for changes
id: check_changes
run: |
if [[ -n "$(git status --porcelain)" ]]; then
echo "needs_compression=true" >> "$GITHUB_OUTPUT"