File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,22 +31,10 @@ jobs:
3131 go.sum
3232 .golangci.yml
3333 assets-cmd : |
34- # Debug: Check Makefile state
35- echo "=== Makefile lines 120-130 ==="
36- sed -n '120,130p' Makefile || echo "Failed to read Makefile"
37- echo "=== Test make syntax ==="
38- if ! make -n assets-compress >/dev/null 2>&1; then
39- echo "ERROR: Makefile has syntax errors!"
40- echo "=== Lines with 'else' ==="
41- grep -n 'else' Makefile || echo "No 'else' found"
42- fi
43-
4434 # Only compress assets if assets actually changed
4535 # The git diff relies on gits remote naming. The merge-flow checks out
4636 # $downstream as origin at the time of writing this code.
4737 if ! git diff --exit-code --name-only origin/main web/ui; then
48- rm -rf web/ui/static
49- make assets-compress
5038 find web/ui/static -type f -name '*.gz' -exec git add {} \;
5139 git add web/ui
5240 git diff --cached --exit-code --name-only || git commit -s -m "[bot] assets: generate"
You can’t perform that action at this time.
0 commit comments