Skip to content

Commit a11413c

Browse files
committed
check cmd
1 parent de570ab commit a11413c

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

Diff for: .github/workflows/CI.yml

+5-8
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,15 @@ jobs:
3333
arch: ${{ matrix.arch }}
3434
- name: Set up MATLAB
3535
uses: matlab-actions/setup-matlab@v2
36-
- name: Check MATLAB Installation
37-
run: |
38-
echo "Checking MATLAB installation directory"
39-
ls /opt/hostedtoolcache/MATLAB/2024.2.999/x64
40-
echo "Checking MATLAB executable"
41-
ls /opt/hostedtoolcache/MATLAB/2024.2.999/x64/bin/glnxa64
42-
echo "Checking MATLAB command"
43-
more /opt/hostedtoolcache/MATLAB/2024.2.999/x64/bin/glnxa64/run-matlab-command
4436
- name: Run statements
4537
uses: matlab-actions/run-command@v2
4638
with:
4739
command: disp('Hello, MATLAB!');
40+
- name: Upload Artifacts
41+
uses: actions/upload-artifact@v4
42+
with:
43+
name: matlab-artifact
44+
path: /opt/hostedtoolcache
4845
- name: RUN MATLAB Cmd 2
4946
run: /home/runner/work/_actions/matlab-actions/run-command/v2/dist/bin/glnxa64/run-matlab-command "disp('Hello, MATLAB!');"
5047
- name: Test MATLAB

0 commit comments

Comments
 (0)