Skip to content

Commit 87f015b

Browse files
committed
fix(ci): exclude CI artifacts/ directory from release ZIPs (#12)
download-artifact@v4 dumps raw build outputs (~159MB) into artifacts/ which was never excluded from the zip commands. Release ZIP bloated from ~5MB to ~49MB as a result.
1 parent dc6e6a0 commit 87f015b

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ jobs:
163163
-x ".gitmodules" \
164164
-x ".github/*" \
165165
-x "external/*" \
166+
-x "artifacts/*" \
166167
-x "CLAUDE.md" \
167168
-x "*.zip" \
168169
-x "*.db" -x "*.db-shm" -x "*.db-wal" \

package.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ zip -r9 "$ZIP_PATH" . \
174174
-x ".gitmodules" \
175175
-x ".github/*" \
176176
-x "external/*" \
177+
-x "artifacts/*" \
177178
-x "CLAUDE.md" \
178179
-x "*.zip" \
179180
-x "*.db" -x "*.db-shm" -x "*.db-wal" \

0 commit comments

Comments
 (0)