Skip to content

Commit

Permalink
Fix/release workflow fix (#102)
Browse files Browse the repository at this point in the history
* add branch to workflow

* changed the pip install torch command

* remove current branch from release workflow

* fix pytorch version

* Remove cpu req

* Remove cpu req

* Remove cpu req

* Remove cpu req

* Remove cpu req

Co-authored-by: Andrzej Skrodki <[email protected]>
  • Loading branch information
hrzn and endrjuskr authored Jun 18, 2020
1 parent 318bd5c commit 13e9a52
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ jobs:
- name: "5. Install main and dev dependencies"
run: |
# this avoids an unnecessary cuda install on Linux
pip install -q torch==1.5.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
pip install -q .
pip install -q -r requirements/dev.txt
Expand Down Expand Up @@ -79,14 +77,12 @@ jobs:
id: cache
with:
path: ~/.cache/pip
key: release-${{ runner.os }}-pip-${{ hashFiles('requirements/main.txt', 'requirements/release.txt') }}
key: release-${{ runner.os }}-pip-${{ hashFiles('requirements/release.txt') }}
restore-keys: |
release-${{ runner.os }}-pip-
- name: "5. Install release dependencies"
run: |
# this avoids an unnecessary cuda install on Linux
pip install -q torch==1.5.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
pip install -q -r requirements/release.txt
- name: "6. Determine next version"
Expand Down

0 comments on commit 13e9a52

Please sign in to comment.