Skip to content

Commit 06ed375

Browse files
authored
Fix MosekTools.jl setup in solver-tests.yml (#3000)
1 parent c49b546 commit 06ed375

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/solver-tests.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- package: 'Ipopt'
3636
- package: 'KNITRO'
3737
- package: 'MiniZinc'
38-
# - package: 'MosekTools' I need to fix this
38+
- package: 'MosekTools'
3939
- package: 'MathOptAnalyzer'
4040
- package: 'MathOptIIS'
4141
- package: 'MultiObjectiveAlgorithms'
@@ -172,11 +172,10 @@ jobs:
172172
if: ${{ matrix.package == 'MosekTools' }}
173173
shell: bash
174174
run: |
175-
{
176-
echo "MOSEKLM_LICENSE_FILE<<EOF"
177-
echo "${{ secrets.MOSEK_LICENSE }}"
178-
echo "EOF"
179-
} >> $GITHUB_ENV
175+
mkdir ~/mosek
176+
echo "${MOSEK_LICENSE}" > ~/mosek/mosek.lic
177+
env:
178+
MOSEK_LICENSE: ${{ secrets.MOSEK_LICENSE }}
180179
# Setup Xpress.jl
181180
- name: Setup Xpress
182181
if: ${{ matrix.package == 'Xpress' }}

0 commit comments

Comments
 (0)