Skip to content

Commit 19ce32e

Browse files
committed
ci: latest actions
1 parent f578996 commit 19ce32e

3 files changed

Lines changed: 16 additions & 14 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
steps:
4343
- &matlab-install
4444
name: Install MATLAB
45-
uses: matlab-actions/setup-matlab@v2
45+
uses: matlab-actions/setup-matlab@v3
4646
with:
4747
release: ${{ matrix.release }}
4848
cache: true
@@ -57,14 +57,14 @@ jobs:
5757

5858
- &tell-ext
5959
name: Matlab tell External Language Interface versions
60-
uses: matlab-actions/run-command@v2
60+
uses: matlab-actions/run-command@v3
6161
with:
6262
command: stdlib.platform_tell()
6363

6464
- &code-issues
6565
name: Check codeIssues
6666
if: ${{ matrix.release >= 'R2024a' || matrix.release == 'latest-including-prerelease' }}
67-
uses: matlab-actions/run-build@v2
67+
uses: matlab-actions/run-build@v3
6868
with:
6969
tasks: check
7070
# Matlab < R2024a has false positives that would break tests
@@ -91,6 +91,8 @@ jobs:
9191

9292
steps:
9393
- *matlab-install
94+
- *mac-fc
95+
9496
- *checkout
9597
- *tell-ext
9698

@@ -133,13 +135,13 @@ jobs:
133135
# - *checkout
134136

135137
# - name: Matlab tell External Language Interface versions
136-
# uses: matlab-actions/run-command@v2
138+
# uses: matlab-actions/run-command@v3
137139
# with:
138140
# command: stdlib.platform_tell()
139141
# startup-options: -nojvm
140142

141143
# - name: Main Tests NoJVM
142-
# uses: matlab-actions/run-build@v2
144+
# uses: matlab-actions/run-build@v3
143145
# with:
144146
# tasks: test_main
145147
# startup-options: -nojvm

.github/workflows/composite-nomex/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@ runs:
99

1010
- name: All Tests (>= R2024b)
1111
if: ${{ matrix.release >= 'R2024b' || matrix.release == 'latest-including-prerelease' }}
12-
uses: matlab-actions/run-build@v2
12+
uses: matlab-actions/run-build@v3
1313
with:
1414
tasks: test:main test:java test:java_exe test:exe
1515

1616

1717
- name: Main and Java Tests (< R2024b)
1818
if: ${{ matrix.release >= 'R2022b' && matrix.release < 'R2024b' }}
19-
uses: matlab-actions/run-build@v2
19+
uses: matlab-actions/run-build@v3
2020
with:
2121
tasks: test_main test_java
2222
startup-options: -logfile ${{ matrix.release }}-${{ runner.os }}-test-main.log
2323

2424

2525
- name: JavaExe Test (R2023b..R2024a)
2626
if: ${{ matrix.release >= 'R2023b' && matrix.release < 'R2024b' }}
27-
uses: matlab-actions/run-build@v2
27+
uses: matlab-actions/run-build@v3
2828
with:
2929
tasks: test_java_exe test_exe
3030
startup-options: -logfile ${{ matrix.release }}-${{ runner.os }}-test-exe.log
@@ -34,7 +34,7 @@ runs:
3434
# https://github.com/matlab-actions/run-tests?tab=readme-ov-file#run-matlab-tests
3535
- name: Non-buildtool tests (< R2022b)
3636
if: ${{ matrix.release < 'R2022b' }}
37-
uses: matlab-actions/run-command@v2
37+
uses: matlab-actions/run-command@v3
3838
with:
3939
startup-options: -logfile ${{ matrix.release }}-${{ runner.os }}-test-main.log
4040
command: test_main

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,16 @@ jobs:
4545
- uses: actions/checkout@v6
4646

4747
- name: Setup Pages
48-
uses: actions/configure-pages@v5
48+
uses: actions/configure-pages@v6
4949

5050
- name: Install MATLAB
51-
uses: matlab-actions/setup-matlab@v2
51+
uses: matlab-actions/setup-matlab@v3
5252
with:
5353
release: ${{ matrix.release }}
54-
cache: false
54+
cache: true
5555

5656
- name: Run Matlab buildtool
57-
uses: matlab-actions/run-build@v2
57+
uses: matlab-actions/run-build@v3
5858
with:
5959
tasks: publish
6060
# don't run "test" task as then even "clean" will leave Matlab in cached state where
@@ -68,4 +68,4 @@ jobs:
6868

6969
- name: Deploy to GitHub Pages
7070
id: deployment
71-
uses: actions/deploy-pages@v4
71+
uses: actions/deploy-pages@v5

0 commit comments

Comments
 (0)