Changed some random ass stuff in the minifier Action
This commit is contained in:
@@ -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: |
|
||||||
|
|||||||
Reference in New Issue
Block a user