Skip to content

Commit 212aa2f

Browse files
Try Changing APT mirror in GitHub workflow
1 parent 5804c6b commit 212aa2f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/im-build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ jobs:
3434
uses: actions/setup-python@v5
3535
with:
3636
python-version: '3.10'
37+
- name: Change apt mirror
38+
run: |
39+
set -euo pipefail
40+
# azure.archive.ubuntu.com is flaky
41+
sudo sed -i 's/azure.archive.ubuntu.com/archive.ubuntu.com/' /etc/apt/sources.list
42+
sudo apt-get update -o APT::Update::Error-Mode=any
43+
3744
- name: Install dependencies
3845
run: |
3946
set -euo pipefail

0 commit comments

Comments
 (0)