Skip to content

Commit ffb292f

Browse files
committed
fix(action):Fix deps download falied
1 parent 6f4c3fe commit ffb292f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ jobs:
2929
if: contains(matrix.os, 'ubuntu')
3030
run: |
3131
sudo rm -rf /var/lib/apt/lists/*
32-
sudo apt-get update
32+
echo "Acquire::http::Pipeline-Depth 0;" | sudo tee /etc/apt/apt.conf.d/99custom
33+
echo "Acquire::http::No-Cache true;" | sudo tee -a /etc/apt/apt.conf.d/99custom
34+
echo "Acquire::BrokenProxy true;" | sudo tee -a /etc/apt/apt.conf.d/99custom
35+
sudo apt-get update || (sleep 10; sudo apt-get update)
3336
sudo apt-get install -y libgles2-mesa-dev
3437
3538
- name: Build and Package

0 commit comments

Comments
 (0)