diff --git a/.github/workflows/release-graph.yml b/.github/workflows/release-graph.yml index 35dbd727..246ec40d 100644 --- a/.github/workflows/release-graph.yml +++ b/.github/workflows/release-graph.yml @@ -31,16 +31,20 @@ jobs: uv run --frozen graphify extract graphify/ --out . git checkout .graphifyignore 2>/dev/null || rm -f .graphifyignore + - name: Cluster, label communities and generate GRAPH_REPORT.md + # cluster-only writes GRAPH_REPORT.md and names communities (no LLM needed + # for basic numeric labels; --no-label skips LLM labeling entirely). + run: uv run --frozen graphify cluster-only . --no-label + - name: Generate HTML viewer - # HTML is written next to graph.json automatically; no --out flag needed. run: uv run --frozen graphify export html --graph graphify-out/graph.json - name: Bundle release asset run: | mkdir -p dist-graph - cp graphify-out/graph.json dist-graph/ - cp graphify-out/graph.html dist-graph/ - cp graphify-out/GRAPH_REPORT.md dist-graph/ + cp graphify-out/graph.json dist-graph/ + cp graphify-out/graph.html dist-graph/ + [ -f graphify-out/GRAPH_REPORT.md ] && cp graphify-out/GRAPH_REPORT.md dist-graph/ || true tar -czf graphify-self-graph.tar.gz -C dist-graph . echo "Asset contents:" tar -tzf graphify-self-graph.tar.gz