Skip to content

Commit

Permalink
Restore SCIP installation step w/o version pinning in setup-idaes Action
Browse files Browse the repository at this point in the history
  • Loading branch information
lbianchi-lbl committed Mar 1, 2024
1 parent fdfca2e commit 4164b98
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/actions/setup-idaes/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ inputs:
description: 'Command to use to install `install-target`'
required: false
default: pip --no-cache-dir install --progress-bar off
ampl-scip-version:
description: Version of AMPL Scip solver to install
ampl-scip-pip-target:
description: pip install target (dist name and optionally version constraint) of AMPL SCIP solver to install
required: false
default: '20240121'
default: ampl-module-scip
runs:
using: "composite"
steps:
Expand Down Expand Up @@ -46,9 +46,10 @@ runs:
echo '::group::Output of "idaes get-extensions" command'
idaes get-extensions --extra petsc --verbose
echo '::endgroup::'
- name: Install SCIP from AMPL
- name: Install AMPL SCIP (${{ inputs.ampl-scip-pip-target }})
if: inputs.ampl-scip-pip-target
shell: bash -l {0}
run: |
echo '::group::Output of "pip install ampl_module_scip" command'
${{ inputs.install-command }} --index-url https://pypi.ampl.com ampl_module_scip==${{ inputs.ampl-scip-version }}
${{ inputs.install-command }} --index-url https://pypi.ampl.com ${{ inputs.ampl-scip-pip-target }}
echo '::endgroup::'

0 comments on commit 4164b98

Please sign in to comment.