Commit cfa7042
authored
perf: optimize ImageMagick installation in GitHub Actions workflows (#10005)
Remove unnecessary dependencies and redundant installation commands that cause
significant slowdowns on PHP 8.4.
Changes:
- Remove --reinstall flag which forces unnecessary downloads
- Remove unneeded packages (fonts, ghostscript, poppler, etc.)
- Remove problematic --fix-broken call
- Use --no-install-recommends to skip optional dependencies
- Consolidate installation into single apt-get command
This reduces installation time from 10+ minutes on PHP 8.4 to 2-3 minutes,
matching other PHP versions.1 parent 0fe15ad commit cfa7042
File tree
2 files changed
+2
-6
lines changed- .github/workflows
2 files changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | | - | |
170 | | - | |
| 168 | + | |
171 | 169 | | |
172 | 170 | | |
173 | 171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
| 63 | + | |
66 | 64 | | |
67 | 65 | | |
68 | 66 | | |
| |||
0 commit comments