Changed some random ass stuff in the minifier Action

This commit is contained in:
2026-04-30 15:22:00 +03:00
committed by GitHub
parent 6e51cddc81
commit 6bf6f119b2
+5 -6
View File
@@ -40,12 +40,11 @@ jobs:
- name: Minify all Lua files - name: Minify all Lua files
run: | run: |
find . -name "*.lua" \ set -e
-not -path "./.git/*" \ for file in $(find . -name "*.lua" -not -path "./.git/*"); do
| while read -r file; do luamin -f "$file" > "$file.min"
minified=$(luamin -f "$file") mv "$file.min" "$file"
echo "$minified" > "$file" done
done
- name: Commit and push to minified branch - name: Commit and push to minified branch
run: | run: |