diff --git a/.github/workflows/minify.yml b/.github/workflows/minify.yml index 077f9f1..c86775c 100644 --- a/.github/workflows/minify.yml +++ b/.github/workflows/minify.yml @@ -42,10 +42,9 @@ jobs: - name: Minify all Lua files run: | - set -e for file in $(find . -name "*.lua" -not -path "./.git/*"); do echo $file - luamin -f "$file" > "$file" || true + cat "$file" | luamin > "$file" done - name: Commit and push to minified branch