Skip to content

Commit a876996

Browse files
committed
ci: upgraded pypi publishing, removing setup.py and updated pypi-publish branch
1 parent b30b80b commit a876996

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish-pypi.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ jobs:
2828
conda info -a
2929
conda list
3030
31-
- name: Create sdist
31+
- name: Create sdist and wheel
3232
run: |
33-
python setup.py check
34-
python setup.py sdist
33+
python -m pip install --upgrade pip build
34+
python -m build
3535
3636
- name: Publish Package
37-
uses: pypa/gh-action-pypi-publish@master
37+
uses: pypa/gh-action-pypi-publish@release/v1
3838
with:
3939
user: __token__
4040
password: ${{ secrets.pypi_upload_token }}

0 commit comments

Comments
 (0)