ci: Add simplified compression without YAML syntax issues

- Add compression back with minimal echo commands
- Use simple echo statements without complex text or embedded commands
- Avoid long echo commands that cause YAML parsing problems
- Compress AppImage with gzip -9 for artifact upload
- Upload citron.AppImage.gz to stay within GitLab size limits
- Keep all functionality while maintaining clean YAML syntax
This commit is contained in:
Zephyron
2025-09-20 20:33:12 +10:00
parent 3e49794325
commit 552cf4105c

View File

@@ -91,9 +91,14 @@ build-linux:
- du -h *.AppImage || echo "No AppImage to measure"
- echo "Total artifact size:"
- du -sh citron.AppImage build/bin/citron 2>/dev/null || echo "Cannot measure artifact sizes"
- echo "Compressing AppImage for upload..."
- gzip -9 citron.AppImage
- ls -la citron.AppImage.gz
- du -h citron.AppImage.gz
- echo "AppImage compressed successfully"
artifacts:
paths:
- citron.AppImage
- citron.AppImage.gz
expire_in: 1 week
when: always
only: