Work around MS’s broken infra in CI. (#17513)
Not a complete workaround, but this is the best we can do without modifying code that runs on user systems.
Austin S. Hemmelgarn committed
Apr 24, 2024 at 12:47 UTC
ee5e83e01ebb21214ec66776d746d18f47ef9f89
5 files changed
+11
-5
.github/workflows/build.yml
+2
-1
@@ -287,7 +287,8 @@ jobs:
287
- name: Prepare tools
288
id: prepare
289
run: |
290
- sudo apt-get update && sudo apt-get install -y python3-ruamel.yaml
290
+ sudo apt-get update || true
291
+ sudo apt-get install -y python3-ruamel.yaml
292
- name: Read build matrix
293
id: set-matrix
294
run: |
.github/workflows/go-tests.yml
+3
-1
@@ -62,7 +62,9 @@ jobs:
62
- name: Checkout
63
uses: actions/checkout@v4
64
- name: Install dependencies
65
- run: sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install -y python3-packaging
65
+ run: |
66
+ sudo apt-get update || true
67
+ sudo apt-get install -y python3-packaging
68
- name: Get Go version and modules
69
id: get-version
70
run: .github/scripts/get-go-version.py
.github/workflows/packaging.yml
+2
-1
@@ -98,7 +98,8 @@ jobs:
98
- name: Prepare tools
99
id: prepare
100
run: |
101
- sudo apt-get update && sudo apt-get install -y python3-ruamel.yaml
101
+ sudo apt-get update || true
102
+ sudo apt-get install -y python3-ruamel.yaml
103
- name: Read build matrix
104
id: set-matrix
105
run: |
.github/workflows/platform-eol-check.yml
+2
-1
@@ -26,7 +26,8 @@ jobs:
26
- name: Prepare tools
27
id: prepare
28
run: |
29
- sudo apt-get update && sudo apt-get install -y python3-ruamel.yaml
29
+ sudo apt-get update || true
30
+ sudo apt-get install -y python3-ruamel.yaml
31
- name: Read build matrix
32
id: set-matrix
33
run: |
.github/workflows/repoconfig-packages.yml
+2
-1
@@ -31,7 +31,8 @@ jobs:
31
- name: Prepare tools
32
id: prepare
33
run: |
34
- sudo apt-get update && sudo apt-get install -y python3-ruamel.yaml
34
+ sudo apt-get update || true
35
+ sudo apt-get install -y python3-ruamel.yaml
36
- name: Read build matrix
37
id: set-matrix
38
run: |