Skip to content

Commit 978d345

Browse files
committed
250728.223606.PDT revise compile_mex.yml and test_matlab.yml
1 parent 7246e93 commit 978d345

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/compile_mex.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,12 @@ jobs:
7171
run: git config --global http.postBuffer 1048576000 && git config --global core.compression 0
7272

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

7677
- name: Free disk space
7778
uses: jlumbroso/free-disk-space@main
79+
if: startsWith(matrix.os, 'ubuntu')
7880
with:
7981
# all of these default to true, but feel free to set to "false" if necessary for your workflow
8082
android: true

.github/workflows/test_matlab.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,12 @@ jobs:
6767
run: git config --global http.postBuffer 1048576000 && git config --global core.compression 0
6868

6969
- name: Run `sudo apt update`
70+
if: startsWith(matrix.os, 'ubuntu')
7071
run: sudo apt update # Otherwise, free-disk-space or other actions relying on `apt` may fail
7172

7273
- name: Free disk space
7374
uses: jlumbroso/free-disk-space@main
75+
if: startsWith(matrix.os, 'ubuntu')
7476
with:
7577
# all of these default to true, but feel free to set to "false" if necessary for your workflow
7678
android: true

0 commit comments

Comments
 (0)