Skip to content

Commit

Permalink
Try reworking BARON again
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmundt committed Jan 8, 2025
1 parent 4d71393 commit 13a7238
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/test_branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,9 @@ jobs:
$BARON_DIR = "${env:TPL_DIR}/baron"
echo "$BARON_DIR" | `
Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
$NEW_PYOMO_PATH = "$BARON_DIR;$PYOMO_PATH"
echo "PYOMO_PATH=$NEW_PYOMO_PATH" | `
Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
$URL = "https://minlp-downloads.nyc3.cdn.digitaloceanspaces.com/xecs/baron/current/"
if ( "${{matrix.TARGET}}" -eq "win" ) {
$INSTALLER = "${env:DOWNLOAD_DIR}/baron_install.exe"
Expand Down Expand Up @@ -589,13 +592,7 @@ jobs:
if: ${{ ! matrix.slim && matrix.TARGET != 'win' }}
run: |
GJH_DIR="$TPL_DIR/gjh"
BARON_DIR="$TPL_DIR/baron"
echo "Current PYOMO_PATH..."
echo "$PYOMO_PATH"
export NEW_PYOMO_PATH="$BARON_DIR:$PYOMO_PATH"
NEW_PYOMO_PATH="$GJH_DIR:$NEW_PYOMO_PATH"
echo "New PYOMO_PATH..."
echo "$NEW_PYOMO_PATH"
echo "PYOMO_PATH=$NEW_PYOMO_PATH" >> $GITHUB_ENV
echo "${GJH_DIR}" >> $GITHUB_PATH
INSTALL_DIR="${DOWNLOAD_DIR}/gjh"
Expand Down

0 comments on commit 13a7238

Please sign in to comment.