Skip to content

Commit a87d97a

Browse files
committed
Upgrade pypi release github action
1 parent 476d133 commit a87d97a

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@ jobs:
1515
uses: actions/setup-python@v5
1616
with:
1717
python-version: 3.12
18-
- name: Build wheel and source tarball
18+
- name: Install build dependencies
1919
run: |
20-
pip install wheel setuptools
21-
python setup.py sdist bdist_wheel
20+
python -m pip install --upgrade pip
21+
pip install build wheel
22+
- name: Build package
23+
run: |
24+
python -m build
2225
- name: Publish a Python distribution to PyPI
23-
uses: pypa/gh-action-pypi-publish@v1.1.0
26+
uses: pypa/gh-action-pypi-publish@release/v1
2427
with:
25-
user: __token__
2628
password: ${{ secrets.pypi_password }}

0 commit comments

Comments
 (0)