Skip to content

Commit 6452d9a

Browse files
committed
260205.122142.CET [skip ci] allow sudo apt update to fail by adding || true
1 parent e567f73 commit 6452d9a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+89
-88
lines changed

.github/workflows/compile_mex.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ jobs:
6969
if: startsWith(matrix.os, 'windows')
7070
run: git config --global http.postBuffer 1048576000 && git config --global core.compression 0
7171

72-
- name: Run `sudo apt update -y`
72+
- name: Run `sudo apt update`
7373
if: startsWith(matrix.os, 'ubuntu')
74-
run: sudo apt update -y # Otherwise, free-disk-space or other actions relying on `apt` may fail
74+
run: sudo apt update || true # Otherwise, free-disk-space or other actions relying on `apt` may fail
7575

7676
- name: Free disk space
7777
uses: jlumbroso/free-disk-space@main

.github/workflows/lint_hosted.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
3232

3333
steps:
3434

35-
- name: Run `sudo apt update -y`
36-
run: sudo apt update -y # Otherwise, free-disk-space or other actions relying on `apt` may fail
35+
- name: Run `sudo apt update`
36+
run: sudo apt update || true # Otherwise, free-disk-space or other actions relying on `apt` may fail
3737

3838
- name: Free disk space
3939
uses: jlumbroso/free-disk-space@main
@@ -83,7 +83,8 @@ jobs:
8383
# Remove MATLAB, or the runner will run out of space.
8484
sudo rm -rf "$MATLABROOT"/* || exit 4
8585
# mlint uses `locate` to find fintrf.h
86-
sudo apt update -y && sudo apt install plocate -y && sudo updatedb
86+
sudo apt update || true
87+
sudo apt install plocate -y && sudo updatedb
8788
locate '/extern/include/fintrf.h' || exit 5
8889
8990
- name: Install AOCC

.github/workflows/parallel_test_matlab.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ jobs:
5050
if: startsWith(matrix.os, 'windows')
5151
run: git config --global http.postBuffer 1048576000 && git config --global core.compression 0
5252

53-
- name: Run `sudo apt update -y`
53+
- name: Run `sudo apt update`
5454
if: startsWith(matrix.os, 'ubuntu')
55-
run: sudo apt update -y # Otherwise, free-disk-space or other actions relying on `apt` may fail
55+
run: sudo apt update || true # Otherwise, free-disk-space or other actions relying on `apt` may fail
5656

5757
- name: Free disk space
5858
uses: jlumbroso/free-disk-space@main

.github/workflows/profile_all.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ jobs:
6767
- name: Get the solver name
6868
run: echo "SOLNAME=$(echo ${{ matrix.solver }} | cut -c1-6)" >> $GITHUB_ENV
6969

70-
- name: Run `sudo apt update -y`
71-
run: sudo apt update -y # Otherwise, free-disk-space or other actions relying on `apt` may fail
70+
- name: Run `sudo apt update`
71+
run: sudo apt update || true # Otherwise, free-disk-space or other actions relying on `apt` may fail
7272

7373
- name: Free disk space
7474
uses: jlumbroso/free-disk-space@main

.github/workflows/profile_all_sq.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ jobs:
6363
- name: Get the solver name
6464
run: echo "SOLNAME=$(echo ${{ matrix.solver }} | cut -c1-6)" >> $GITHUB_ENV
6565

66-
- name: Run `sudo apt update -y`
67-
run: sudo apt update -y # Otherwise, free-disk-space or other actions relying on `apt` may fail
66+
- name: Run `sudo apt update`
67+
run: sudo apt update || true # Otherwise, free-disk-space or other actions relying on `apt` may fail
6868

6969
- name: Free disk space
7070
uses: jlumbroso/free-disk-space@main

.github/workflows/profile_bobyqa_small.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535

3636
steps:
3737

38-
- name: Run `sudo apt update -y`
39-
run: sudo apt update -y # Otherwise, free-disk-space or other actions relying on `apt` may fail
38+
- name: Run `sudo apt update`
39+
run: sudo apt update || true # Otherwise, free-disk-space or other actions relying on `apt` may fail
4040

4141
- name: Free disk space
4242
uses: jlumbroso/free-disk-space@main

.github/workflows/profile_bobyqa_small_sq.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737

3838
steps:
3939

40-
- name: Run `sudo apt update -y`
41-
run: sudo apt update -y # Otherwise, free-disk-space or other actions relying on `apt` may fail
40+
- name: Run `sudo apt update`
41+
run: sudo apt update || true # Otherwise, free-disk-space or other actions relying on `apt` may fail
4242

4343
- name: Free disk space
4444
uses: jlumbroso/free-disk-space@main

.github/workflows/profile_cobyla_small.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ jobs:
4444
- name: Get the solver name
4545
run: echo "SOLNAME=$(echo ${{ matrix.solver }} | cut -c1-6)" >> $GITHUB_ENV
4646

47-
- name: Run `sudo apt update -y`
48-
run: sudo apt update -y # Otherwise, free-disk-space or other actions relying on `apt` may fail
47+
- name: Run `sudo apt update`
48+
run: sudo apt update || true # Otherwise, free-disk-space or other actions relying on `apt` may fail
4949

5050
- name: Free disk space
5151
uses: jlumbroso/free-disk-space@main

.github/workflows/profile_cobyla_small_sq.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
- name: Get the solver name
4242
run: echo "SOLNAME=$(echo ${{ matrix.solver }} | cut -c1-6)" >> $GITHUB_ENV
4343

44-
- name: Run `sudo apt update -y`
45-
run: sudo apt update -y # Otherwise, free-disk-space or other actions relying on `apt` may fail
44+
- name: Run `sudo apt update`
45+
run: sudo apt update || true # Otherwise, free-disk-space or other actions relying on `apt` may fail
4646

4747
- name: Free disk space
4848
uses: jlumbroso/free-disk-space@main

0 commit comments

Comments
 (0)