Skip to content

Commit ad7f99b

Browse files
committed
Fix MosekTools.jl setup in solver-tests.yml
1 parent c49b546 commit ad7f99b

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/solver-tests.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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)