mirror of
https://github.com/MeshEnvy/mesh-forge.git
synced 2026-08-06 17:03:28 +02:00
refactor: update custom build workflow to use max compression on source file
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user