Skip to content

Commit d462d54

Browse files
ci: pypi deployment replace setuptools with hatch (#232)
1 parent 45605f8 commit d462d54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
python-version: "3.x"
1717
- name: Install dependencies
1818
run: |
19-
pip install --upgrade pip setuptools twine
19+
pip install --upgrade pip hatch twine
2020
- name: Build and publish
2121
env:
2222
TWINE_USERNAME: __token__
2323
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
2424
run: |
25-
python setup.py sdist
25+
hatch build
2626
twine upload dist/*

0 commit comments

Comments
 (0)