From 552cf4105c034096232c530575008f2c2a0bfde2 Mon Sep 17 00:00:00 2001 From: Zephyron Date: Sat, 20 Sep 2025 20:33:12 +1000 Subject: [PATCH] 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 --- .gitlab-ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 37a61b25c..d0d4298b8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: