Skip to content

Commit 9c37382

Browse files
authored
GHA: drop man-db hack, remove more 3rd-party apt sources (#238)
Also drop redundant `-y` from apt-get update command.
1 parent fca4fd6 commit 9c37382

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,9 @@ jobs:
3131

3232
- name: Install Dependencies
3333
run: |
34-
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
34+
sudo rm -f /etc/apt/sources.list.d/{azure-cli.sources,microsoft-prod.list,ondrej-ubuntu-php-noble.sources}
3535
sudo apt-get -o Dpkg::Use-Pty=0 update
36-
sudo rm -f /var/lib/man-db/auto-update
37-
sudo apt-get -o Dpkg::Use-Pty=0 install -y cmake clang ninja-build
36+
sudo apt-get -o Dpkg::Use-Pty=0 install cmake clang ninja-build
3837
3938
- name: Compile mainline
4039
env:
@@ -51,10 +50,9 @@ jobs:
5150

5251
- name: Install Dependencies
5352
run: |
54-
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
53+
sudo rm -f /etc/apt/sources.list.d/{azure-cli.sources,microsoft-prod.list,ondrej-ubuntu-php-noble.sources}
5554
sudo apt-get -o Dpkg::Use-Pty=0 update
56-
sudo rm -f /var/lib/man-db/auto-update
57-
sudo apt-get -o Dpkg::Use-Pty=0 install -y cmake clang ninja-build
55+
sudo apt-get -o Dpkg::Use-Pty=0 install cmake clang ninja-build
5856
5957
- name: Compile deps target
6058
run: ./scripts/compile_target.sh deps

.github/workflows/pages-ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ jobs:
3535
3636
- name: Install Playwright system dependencies
3737
run: |
38-
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
39-
sudo rm -f /var/lib/man-db/auto-update
38+
sudo rm -f /etc/apt/sources.list.d/{azure-cli.sources,microsoft-prod.list,ondrej-ubuntu-php-noble.sources}
4039
playwright install-deps
4140
4241
- name: Run Playwright browser test

0 commit comments

Comments
 (0)