Commit 33581b1
perf(release): compress single-file binaries (~104MB -> ~53MB)
Enable EnableCompressionInSingleFile so the self-contained release
binaries download roughly half as large. This shrinks the payload the
Netdocs action must write on CI runners, reducing the chance of a
local write failure (curl exit 23) on runners with tight disk/temp.
Also make the action's download failure diagnostics actionable: on a
failed curl fallback or empty-file guard, print the partial file size
and full `df -h` for every mount so disk exhaustion is obvious.
Verified locally: a compressed, isolated win-x64 exe (only netdocs.exe,
no loose theme) builds the full 244-page Web site; the embedded theme
extracts correctly from the compressed bundle.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 369082a commit 33581b1
2 files changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
118 | 123 | | |
119 | 124 | | |
120 | 125 | | |
| |||
123 | 128 | | |
124 | 129 | | |
125 | 130 | | |
126 | | - | |
| 131 | + | |
127 | 132 | | |
128 | 133 | | |
129 | 134 | | |
| |||
0 commit comments