Skip to content

Commit f3cb662

Browse files
authored
Merge pull request #13 from lucidrains/fix-gh-actions
try to fix again
2 parents 8aa92ca + f55d89c commit f3cb662

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install --upgrade pip
29+
python -m pip install setuptools
2930
python -m pip install pytest torch==2.0.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
3031
- name: Test with pytest
3132
run: |

.github/workflows/python-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ jobs:
2424
with:
2525
python-version: '3.x'
2626
- name: Build package
27-
run: python setup.py sdist
27+
run: |
28+
python -m pip install setuptools
29+
python setup.py sdist
2830
- name: Publish package
2931
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
3032
with:

0 commit comments

Comments
 (0)