We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 677d424 commit 60f41f0Copy full SHA for 60f41f0
.github/workflows/continuous-integration.yml
@@ -115,8 +115,10 @@ jobs:
115
116
- name: Include MP-Core?
117
run: |
118
- export HAVE_MP_CORE=`$ML_CMD "fprintf('%d', have_feature('mp_core'))"`
119
- export INCLUDE_MP_CORE=${HAVE_MP_CORE: -1}
+ export HAVE_MP_CORE=`$ML_CMD "fprintf('%d\n', have_feature('mp_core'))"`
+ echo "HAVE_MP_CORE=${HAVE_MP_CORE}"
120
+ export INCLUDE_MP_CORE=$(echo "$HAVE_MP_CORE" | grep -o '[01]' | tail -n 1)
121
+ echo "INCLUDE_MP_CORE=${INCLUDE_MP_CORE}"
122
echo "INCLUDE_MP_CORE=${INCLUDE_MP_CORE}" >> $GITHUB_ENV
123
124
- name: Test GLPK availability, print version number
0 commit comments