ci: Optimize artifacts to fix 413 Request Entity Too Large error

- Remove build/bin/citron from artifacts, keep only citron.AppImage
- AppImage contains the complete application and all dependencies
- Combined artifacts (109MB AppImage + citron binary) exceeded GitLab limits
- Single AppImage artifact should be under the size limit
- Add size reporting for better monitoring of artifact sizes

Success: AppImage creation is now working with CachyOS!
This commit is contained in:
Zephyron
2025-09-19 14:16:17 +10:00
parent 94e912b754
commit 72353c757c

View File

@@ -76,9 +76,12 @@ build-linux:
- echo "Running AppImage build..." - echo "Running AppImage build..."
- ./AppImage-build-local.sh || echo "AppImage build failed, continuing..." - ./AppImage-build-local.sh || echo "AppImage build failed, continuing..."
- ls -la *.AppImage || echo "No AppImage files found" - ls -la *.AppImage || echo "No AppImage files found"
- echo "AppImage size information:"
- 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"
artifacts: artifacts:
paths: paths:
- build/bin/citron
- citron.AppImage - citron.AppImage
expire_in: 1 week expire_in: 1 week
when: always when: always