Skip to content

Commit

Permalink
debug 16
Browse files Browse the repository at this point in the history
  • Loading branch information
rdzman committed Feb 2, 2024
1 parent 53db878 commit cf610e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,13 @@ runs:
shell: bash
- name: Configure MATLAB
run: |
export MATLAB_REL=`ls /opt/hostedtoolcache/MATLAB`
export MATLAB_REL=`run-matlab-command "regexp(version, '(?<=\().*(?=\))', 'match', 'once')" | sed 's/ //g;s/\x27//g;s/\n//g'`
echo "MATLAB_REL=${MATLAB_REL}" >> $GITHUB_ENV
echo "ML_NAME=MATLAB" >> $GITHUB_ENV
echo "ML_CMD=run-matlab-command" >> $GITHUB_ENV
echo "ML_PATHVAR=MATLABPATH" >> $GITHUB_ENV
shell: bash
# export MATLAB_REL=`ls /opt/hostedtoolcache/MATLAB`
# export MATLAB_REL=R2023b
# export MATLAB_REL={`run-matlab-command "regexp(version, '(?<=\().*(?=\))', 'match', 'once')" | sed 's/ //g;s/\x27//g'`}
# export MATLAB_VER=`matlab -nojvm -batch "fprintf('%s', ver('matlab').Version)"`
Expand Down

0 comments on commit cf610e6

Please sign in to comment.