refactor: update custom build workflow to use max compression on source file

This commit is contained in:
Ben Allfree
2025-11-26 10:09:47 -08:00
parent f5ba8b2164
commit 306be69033
+2 -2
View File
@@ -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"