File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 6464 uses : matlab-actions/run-tests@v2
6565 with :
6666 select-by-folder : /home/runner/work/cantera/cantera/test/matlab_experimental
67+ - name : Set TOOLBOX_VERSION environment variable from tag
68+ run : |
69+ echo "TOOLBOX_VERSION=${GITHUB_REF_NAME}" >> $GITHUB_ENV
70+ - name : Build MLTBX toolbox
71+ uses : matlab-actions/run-command@v2
72+ with :
73+ command : |
74+ addpath('/home/runner/work/cantera/cantera/interfaces/matlab_experimental/Setup');
75+ buildToolbox;
76+ - name : Upload Toolbox Artifact
77+ uses : actions/upload-artifact@v4
78+ with :
79+ name : Cantera_MATLAB_toolbox
80+ path : build/*.mltbx
81+ retention-days : 14
82+ # MLTBX test is disabled until we can download packaged binaries and header files
83+ # - name: Test the MLTBX toolbox
84+ # uses: matlab-actions/run-tests@v2
85+ # with:
86+ # select-by-folder: /home/runner/work/cantera/cantera/test/matlab_experimental
6787
6888 ubuntu-multiple-pythons :
6989 name : ${{ matrix.os }} with Python ${{ matrix.python-version }}, Numpy ${{ matrix.numpy || 'latest' }}, Cython ${{ matrix.cython || 'latest' }}
@@ -336,7 +356,7 @@ jobs:
336356 - name : Set up MATLAB
337357 uses : matlab-actions/setup-matlab@v2
338358 - name : Test the MATLAB interface and generate coverage report
339- uses : matlab-actions/run-command@v1
359+ uses : matlab-actions/run-command@v2
340360 env :
341361 CANTERA_ROOT : /home/runner/work/cantera/cantera
342362 CANTERA_DATA : /home/runner/work/cantera/cantera/data
You can’t perform that action at this time.
0 commit comments