Skip to content

Commit

Permalink
[Workflow] Update workflow (#117)
Browse files Browse the repository at this point in the history
update workflow
  • Loading branch information
yaoyaoding committed Feb 18, 2023
1 parent 4ab4cea commit eacb510
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cu116
pip install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cu118
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Format with black
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish to PyPI

on:
release:
types: [created]
types: [published]

jobs:
publish-tests:
Expand Down Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Install dependencies via pip
run: |
python -m pip install --upgrade pip
pip install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cu116
pip install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cu118
pip install -r requirements.txt
pip install -r requirements-dev.txt
Expand Down

0 comments on commit eacb510

Please sign in to comment.