Skip to content

Commit

Permalink
Merge pull request #13 from lucidrains/fix-gh-actions
Browse files Browse the repository at this point in the history
try to fix again
  • Loading branch information
lucidrains committed Jan 15, 2024
2 parents 8aa92ca + f55d89c commit f3cb662
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install setuptools
python -m pip install pytest torch==2.0.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
- name: Test with pytest
run: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ jobs:
with:
python-version: '3.x'
- name: Build package
run: python setup.py sdist
run: |
python -m pip install setuptools
python setup.py sdist
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
Expand Down

0 comments on commit f3cb662

Please sign in to comment.