Skip to content

Commit c7a43ad

Browse files
committed
fix: CD pipeline
1 parent aaf8150 commit c7a43ad

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,21 @@ jobs:
1313
- uses: actions/checkout@v3
1414
with:
1515
fetch-depth: 0
16+
1617
- name: Set up Python
1718
uses: actions/setup-python@v3
1819
with:
1920
python-version: '3.10'
20-
- name: Installing package
21+
22+
- name: Install build tools first
2123
run: |
22-
pip3 install .
23-
pip3 install .[pypi]
24-
pip3 install build wheel
25-
pip3 install setuptools --upgrade
26-
pip3 install setuptools_scm
24+
pip install --upgrade pip setuptools wheel build setuptools_scm
25+
2726
- name: Build Package
2827
run: |
28+
2929
python -m build --no-isolation
30+
3031
- name: Publish package to PyPI
3132
uses: pypa/gh-action-pypi-publish@release/v1
3233
with:

0 commit comments

Comments
 (0)