We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f6bb64 commit fc4c365Copy full SHA for fc4c365
1 file changed
.github/workflows/build.yml
@@ -47,15 +47,8 @@ jobs:
47
restore-keys: |
48
${{ runner.os }}-trivy-
49
50
- - name: Configure APT
51
- run: |
52
- # Workaround to avoid sporadic connectivity issues "Could not connect to azure.archive.ubuntu.com:80"
53
- # see https://github.com/actions/virtual-environments/issues/675
54
- echo 'APT::Acquire::Retries "3";' | sudo tee /etc/apt/apt.conf.d/80-acquire-retries
55
- if ! curl --max-time 3 --output /dev/null --silent --head --fail "http://azure.archive.ubuntu.com/ubuntu/dists/"; then
56
- sudo sed -i 's/azure\.//' /etc/apt/sources.list
57
- sudo apt-get update
58
- fi
+ - name: Configure fast APT repository mirror
+ uses: vegardit/fast-apt-mirror.sh@v1
59
60
- name: Install dos2unix
61
run: sudo apt-get install --no-install-recommends -y dos2unix
0 commit comments