Skip to content

Commit c0ed440

Browse files
authored
Update solver-tests.yml
1 parent 3eef5b0 commit c0ed440

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/solver-tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131
- name: Add Gurobi secrets
132132
if: ${{ matrix.package == 'Gurobi' }}
133133
shell: bash
134-
run: echo "${{ secrets.GUROBI_LICENSE }}" > ~gurobi.lic
134+
run: echo "${{ secrets.GUROBI_LICENSE }}" > ~/gurobi.lic
135135
# Setup KNITRO.jl
136136
- name: Add KNITRO secrets
137137
if: ${{ matrix.package == 'KNITRO' }}
@@ -143,9 +143,11 @@ jobs:
143143
# Setup Xpress.jl
144144
- name: Add Xpress secrets
145145
if: ${{ matrix.package == 'Xpress' }}
146+
env:
147+
SECRET_XPRESS_LICENSE: ${{ secrets.XPRESS_LICENSE }}
146148
shell: bash
147149
run: |
148-
echo "${{ secrets.XPRESS_LICENSE }}" > /opt/xpauth.xpr
150+
echo "${SECRET_XPRESS_LICENSE}" > /opt/xpauth.xpr
149151
echo "XPRESS_JL_SKIP_LIB_CHECK=true" >> $GITHUB_ENV
150152
echo "XPAUTH_PATH=/opt/xpauth.xpr" >> $GITHUB_ENV
151153
- name: Run tests

0 commit comments

Comments
 (0)