Skip to content

Commit af8d73f

Browse files
committed
Updated yml file to fix tests.
1 parent 8f8c56a commit af8d73f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,32 +21,32 @@ jobs:
2121

2222
# Sets up MATLAB on the GitHub Actions runner
2323
- name: Setup MATLAB
24-
uses: matlab-actions/setup-matlab@v1
24+
uses: matlab-actions/setup-matlab@v2
2525
with:
2626
release: ${{ matrix.MATLABVersion }}
2727

2828
# Run SmokeTests
2929
- name: Run SmokeTests
30-
uses: matlab-actions/run-command@v1
30+
uses: matlab-actions/run-command@v2
3131
with:
3232
command: openProject(pwd); results = runtests(fullfile("SoftwareTests","SmokeTests.m")); assertSuccess(results);
3333

3434
# Run FunctionTests
3535
- name: Run FunctionTests
36-
uses: matlab-actions/run-command@v1
36+
uses: matlab-actions/run-command@v2
3737
with:
3838
command: openProject(pwd); results = runtests(fullfile("SoftwareTests","FunctionTests.m")); assertSuccess(results);
3939

4040
# Upload the test results as artifact
4141
- name: Upload TestResults
42-
uses: actions/upload-artifact@v3.1.3
42+
uses: actions/upload-artifact@v4
4343
with:
4444
name: TestResults
4545
path: ./SoftwareTests/TestResults_${{ matrix.MATLABVersion }}.txt
4646

4747
# Download the test results from artifact
4848
- name: Download TestResults
49-
uses: actions/download-artifact@v2.1.1
49+
uses: actions/download-artifact@v4
5050
with:
5151
name: TestResults
5252
path: ./SoftwareTests/

0 commit comments

Comments
 (0)