Skip to content

Commit aab136f

Browse files
committed
fix: build distribution
1 parent 2f08f47 commit aab136f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/publish-to-pypi.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,15 @@ jobs:
1717
uses: actions/setup-python@v3
1818
with:
1919
python-version: '3.10'
20-
- name: Installing package
20+
21+
- name: Install build tools
2122
run: |
22-
pip3 install .
23-
pip3 install .[pypi]
24-
pip3 install build wheel
25-
pip3 install setuptools --upgrade
26-
pip3 install setuptools_scm
23+
pip install --upgrade pip setuptools wheel build setuptools_scm
24+
2725
- name: Build Package
2826
run: |
2927
python -m build --no-isolation
28+
3029
- name: Publish package to PyPI
3130
uses: pypa/gh-action-pypi-publish@release/v1
3231
with:

0 commit comments

Comments
 (0)