@@ -214,7 +214,6 @@ jobs:
214214 command : |
215215 pwd
216216 ls -la .wp-env*
217- docker builder prune -f
218217 npx wp-env start --debug
219218 npx wp-env run cli wp core version
220219
@@ -228,19 +227,10 @@ jobs:
228227
229228 - name : Drop broken third-party apt repos on the runner
230229 run : |
231- # `playwright install --with-deps` runs apt-get update on the RUNNER
232- # itself (not inside the wp-env container). GitHub's image ships
233- # third-party apt sources, and Google's has been serving a
234- # Packages.gz whose checksum does not match its own Release file:
235- # E: Failed to fetch .../Packages.gz Hash Sum mismatch
236- # apt fails the whole update on one bad repo, which takes this step
237- # down on every matrix leg. Playwright's OS dependencies come from
238- # Ubuntu's own repos, so these third-party sources are unnecessary
239- # here and safe to remove. Retrying does not help - the bad index is
240- # served from Google's CDN, not cached locally.
241- # Match on content, not filename: the runner image has used more
242- # than one name/URL form for this source. Scoped to sources.list.d so
243- # /etc/apt/sources.list (Ubuntu's own repos) can never be removed.
230+ # Playwright's OS dependencies come from Ubuntu's own repos
231+ # so these third-party sources are unnecessary here and safe to remove.
232+ # Scoped to sources.list.d so /etc/apt/sources.list (Ubuntu's own repos)
233+ # can never be removed.
244234 sudo grep -rl 'dl\.google\.com' /etc/apt/sources.list.d/ 2>/dev/null \
245235 | sudo xargs -r rm -fv || true
246236 sudo apt-get clean
0 commit comments