diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 16aac226a..edcf55a69 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -77,13 +77,13 @@ build-linux: - 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" + - xz -9 -c citron.AppImage > citron.AppImage.xz + - ls -la citron.AppImage.xz + - du -h citron.AppImage.xz + - echo "AppImage compressed with xz successfully" artifacts: paths: - - citron.AppImage.gz + - citron.AppImage.xz expire_in: 1 week when: always only: