Explorar o código

Enable maximum compression for release ZIP files

- Added -9 flag to zip command in main.yml for maximum compression
- Release assets will now be compressed at highest level for smaller downloads
- Complements the compression-level: 9 setting for CI artifacts
TheWildJames hai 11 meses
pai
achega
44a86ea1dc
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      .github/workflows/main.yml

+ 2 - 2
.github/workflows/main.yml

@@ -211,9 +211,9 @@ jobs:
               # Get the directory name without path
               dirname=$(basename "$dir")
               
-              # Create ZIP from AnyKernel3 directory
+              # Create ZIP from AnyKernel3 directory with maximum compression
               cd "$dir"
-              zip -r "../../${dirname}.zip" ./*
+              zip -9 -r "../../${dirname}.zip" ./*
               cd - > /dev/null
               
               echo "Created and uploading ${dirname}.zip..."