Skip to content

Commit 340c693

Browse files
ci: completely remove google-chrome list from all apt-get update calls
1 parent 838b442 commit 340c693

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎.github/actions/setup-builder/action.yaml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ runs:
2929
shell: bash
3030
run: |
3131
RETRY=("ci/scripts/retry" timeout 120)
32+
rm -f /etc/apt/sources.list.d/google-chrome.list
3233
"${RETRY[@]}" apt-get update
3334
"${RETRY[@]}" apt-get install -y protobuf-compiler
3435
- name: Setup Rust toolchain
@@ -59,4 +60,4 @@ runs:
5960
# remove Android library: about 7.8GB (host /usr/local/lib/android)
6061
rm -rf /host/usr/local/lib/android || true
6162
echo "Disk space after cleanup:"
62-
df -h
63+
df -h

‎.github/workflows/docs.yaml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ jobs:
5050
- name: Install Graphviz
5151
run: |
5252
set -x
53-
sudo apt-get update
53+
sudo rm -f /etc/apt/sources.list.d/google-chrome.list
54+
sudo apt-get update -o Acquire::Retries=5
5455
sudo apt-get install -y graphviz
5556
- name: Install cargo-depgraph
5657
uses: taiki-e/install-action@7f4eb899022d8fe70b20c4f3de697aa85c309026 # v2.85.11

‎.github/workflows/docs_pr.yaml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ jobs:
5656
- name: Install Graphviz
5757
run: |
5858
set -x
59-
sudo apt-get update
59+
sudo rm -f /etc/apt/sources.list.d/google-chrome.list
60+
sudo apt-get update -o Acquire::Retries=5
6061
sudo apt-get install -y graphviz
6162
- name: Install cargo-depgraph
6263
uses: taiki-e/install-action@7f4eb899022d8fe70b20c4f3de697aa85c309026 # v2.85.11

0 commit comments

Comments
 (0)