Skip to content

Commit

Permalink
CI: update to pyenergyplus download
Browse files Browse the repository at this point in the history
  • Loading branch information
Taoning Wang committed Aug 11, 2023
1 parent f82a5c6 commit 5d05642
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Download latest EnergyPlus
run: wget https://github.com/taoning/pyenergyplus/releases/download/v23.1.0/pyenergyplus-23.1.0-py3-none-macosx_10_13_x86_64.whl
run: wget https://github.com/taoning/pyenergyplus/releases/download/v23.1.0/pyenergyplus-23.1.0-py3-none-manylinux1_x86_64.whl

- name: Install EnergyPlus
run: pip install pyenergyplus-23.1.0-py3-none-macosx_10_13_x86_64.whl
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Download latest EnergyPlus
run: curl -O "https://github.com/taoning/pyenergyplus/releases/download/v23.1.0/pyenergyplus-23.1.0-py3-none-macosx_10_13_x86_64.whl"
run: curl -L "https://github.com/taoning/pyenergyplus/releases/download/v23.1.0/pyenergyplus-23.1.0-py3-none-macosx_10_13_x86_64.whl" -o "pyenergyplus-23.1.0-py3-none-macosx_10_13_x86_64.whl"

- name: Install EnergyPlus
run: pip install pyenergyplus-23.1.0-py3-none-macosx_10_13_x86_64.whl
Expand All @@ -74,8 +74,7 @@ jobs:
pip install pytest
pytest test
test_windows:
runs-on: windows-latest
test_windows: runs-on: windows-latest
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
Expand All @@ -94,7 +93,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Download latest EnergyPlus
run: Invoke-WebRequest -Uri "https://github.com/taoning/pyenergyplus/releases/download/v23.1.0/pyenergyplus-23.1.0-py3-none-win_amd64.whl"
run: bitsadmin /transfer myDownloadJob /download /priority normal "https://github.com/taoning/pyenergyplus/releases/download/v23.1.0/pyenergyplus-23.1.0-py3-none-win_amd64.whl" "%CD%\pyenergyplus-23.1.0-py3-none-win_amd64.whl"

- name: Install EnergyPlus
run: pip install pyenergyplus-23.1.0-py3-none-win_amd64.whl
Expand Down

0 comments on commit 5d05642

Please sign in to comment.