Skip to content

Commit a959fa8

Browse files
authored
ci: skip man-db updates to avoid random build delays (#537)
Closes #531 Related: * actions/runner#4030 * actions/runner-images#10977
1 parent e700408 commit a959fa8

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ jobs:
148148
browser: webkit
149149

150150
steps:
151+
# Prepare for playwright install.
152+
- if: ${{ matrix.target == 'Web' }}
153+
run: sudo bash -ec 'echo "set man-db/auto-update false" | debconf-communicate; dpkg-reconfigure man-db'
154+
151155
- uses: 'actions/checkout@v4'
152156

153157
- uses: 'volta-cli/action@v4'
@@ -208,6 +212,10 @@ jobs:
208212
browser: webkit
209213

210214
steps:
215+
# Prepare for playwright install.
216+
- if: ${{ matrix.target == 'Web' }}
217+
run: sudo bash -ec 'echo "set man-db/auto-update false" | debconf-communicate; dpkg-reconfigure man-db'
218+
211219
- uses: 'actions/checkout@v4'
212220

213221
- uses: 'volta-cli/action@v4'
@@ -268,6 +276,10 @@ jobs:
268276
browser: webkit
269277

270278
steps:
279+
# Prepare for playwright install.
280+
- if: ${{ matrix.target == 'Web' }}
281+
run: sudo bash -ec 'echo "set man-db/auto-update false" | debconf-communicate; dpkg-reconfigure man-db'
282+
271283
- uses: 'actions/checkout@v4'
272284

273285
- uses: 'volta-cli/action@v4'
@@ -328,6 +340,10 @@ jobs:
328340
browser: webkit
329341

330342
steps:
343+
# Prepare for playwright install.
344+
- if: ${{ matrix.target == 'Web' }}
345+
run: sudo bash -ec 'echo "set man-db/auto-update false" | debconf-communicate; dpkg-reconfigure man-db'
346+
331347
- uses: 'actions/checkout@v4'
332348

333349
- uses: 'volta-cli/action@v4'
@@ -433,6 +449,10 @@ jobs:
433449
browser: webkit
434450

435451
steps:
452+
# Prepare for playwright install.
453+
- if: ${{ matrix.target == 'Web' }}
454+
run: sudo bash -ec 'echo "set man-db/auto-update false" | debconf-communicate; dpkg-reconfigure man-db'
455+
436456
- uses: 'actions/checkout@v4'
437457

438458
- uses: 'volta-cli/action@v4'

0 commit comments

Comments
 (0)