Skip to content

Commit 233f060

Browse files
committed
fix: 提高 R2 上传限制到 1000MB,484MB 的 Windows zip 不再被跳过
1 parent d4800a8 commit 233f060

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,8 +488,8 @@ jobs:
488488
FILENAME=$(basename "$file")
489489
SIZE_MB=$(( $(stat --format=%s "$file") / 1048576 ))
490490
echo "Uploading $FILENAME (${SIZE_MB}MB) ..."
491-
if [ "$SIZE_MB" -gt 290 ]; then
492-
echo "Skipping $FILENAME (${SIZE_MB}MB > 290MB wrangler limit, available in GitHub Release)"
491+
if [ "$SIZE_MB" -gt 1000 ]; then
492+
echo "Skipping $FILENAME (${SIZE_MB}MB > 1000MB, available in GitHub Release)"
493493
continue
494494
fi
495495
# Route to edition-specific R2 paths

0 commit comments

Comments
 (0)