From 306be6903343f9ab55a72340d9dec863325acb9a Mon Sep 17 00:00:00 2001 From: Ben Allfree Date: Wed, 26 Nov 2025 10:09:47 -0800 Subject: [PATCH] refactor: update custom build workflow to use max compression on source file --- .github/workflows/custom_build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/custom_build.yml b/.github/workflows/custom_build.yml index 994987a..f93f451 100644 --- a/.github/workflows/custom_build.yml +++ b/.github/workflows/custom_build.yml @@ -265,11 +265,11 @@ jobs: # Stage MESHFORGE.md so it gets included in the archive git add -f MESHFORGE.md - # Use git archive to create tar.gz, which automatically: + # Use git archive to create tar, which automatically: # - Respects .gitignore (excludes .pio/, build artifacts, etc.) # - Excludes .git directory cd .. - git -C firmware archive --format=tar.gz --output="${{ inputs.build_hash }}.tar.gz" HEAD + git -C firmware archive --format=tar HEAD | gzip -9 > "${{ inputs.build_hash }}.tar.gz" echo "✅ Created source archive: ${{ inputs.build_hash }}.tar.gz" ls -lh "${{ inputs.build_hash }}.tar.gz"