From b3ac2f9570390f79d5a8de58972b1c5d469ebbee Mon Sep 17 00:00:00 2001 From: Davis King Date: Fri, 21 Jul 2023 11:01:15 -0400 Subject: [PATCH] try the run command thing --- .github/workflows/build_matlab.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_matlab.yml b/.github/workflows/build_matlab.yml index 499c2b1d0..b877ecf4d 100644 --- a/.github/workflows/build_matlab.yml +++ b/.github/workflows/build_matlab.yml @@ -28,11 +28,9 @@ jobs: cd build cmake .. cmake --build . --config Release --target install --parallel 4 - - name: run mex example - run: | - pwd - ls -l - ls -l build - matlab -nodisplay -r 'try, example(), catch, exit(1); end; exit' + - name: Run example script + uses: matlab-actions/run-command@v1 + with: + command: example