Skip to content

Commit 910c318

Browse files
committed
fall back to simpler build workflow
1 parent a0355ab commit 910c318

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/python-publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ jobs:
3333
- name: Install dependencies
3434
run: |
3535
python -m pip install --upgrade pip
36-
pip install build
36+
pip install setuptools
37+
pip install torch --index-url https://download.pytorch.org/whl/cpu
3738
- name: Build package
38-
run: python -m build --sdist
39+
run: python setup.py sdist
3940
- name: Publish package
4041
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
4142
with:

0 commit comments

Comments
 (0)