mirror of
https://github.com/GTNewHorizons/GTNH-Actions-Workflows.git
synced 2025-08-29 06:40:10 +02:00
fix issues
This commit is contained in:
parent
fa10d52e7e
commit
12170bde1f
10
.github/workflows/optimize-images.yml
vendored
10
.github/workflows/optimize-images.yml
vendored
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user