Skip to content

Commit

Permalink
debug 18
Browse files Browse the repository at this point in the history
  • Loading branch information
rdzman committed Feb 2, 2024
1 parent 907c277 commit 9f4768b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ runs:
- name: Configure MATLAB
run: |
echo "hello-world" >> hello-world.txt
echo `run-matlab-command "regexp(version, '(?<=\().*(?=\))', 'match', 'once')" | sed 's/ //g;s/\x27//g'` >> ml_out.txt
echo `run-matlab-command "regexp(version, '(?<=\().*(?=\))', 'match', 'once')" | sed 's/ //g;s/\x27//g;s/ans=//g'` >> ml_out.txt
echo "--1--"
cat hello-world.txt
echo "--2--"
cat ml_out.txt
echo "--3--"
cat hello-world.txt
echo "--4--"
export MATLAB_REL=`run-matlab-command "regexp(version, '(?<=\().*(?=\))', 'match', 'once')" | sed 's/ //g;s/\x27//g;s/\n//g'`
export MATLAB_REL=`run-matlab-command "regexp(version, '(?<=\().*(?=\))', 'match', 'once')" | sed 's/ //g;s/\x27//g;s/ans=//g'`
echo "MATLAB_REL=${MATLAB_REL}" >> $GITHUB_ENV
echo "ML_NAME=MATLAB" >> $GITHUB_ENV
echo "ML_CMD=run-matlab-command" >> $GITHUB_ENV
Expand Down

0 comments on commit 9f4768b

Please sign in to comment.