Skip to content

Commit dc406c7

Browse files
authored
Update release.yml
1 parent 69855b5 commit dc406c7

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/release.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,22 @@ jobs:
1717
id-token: write
1818

1919
steps:
20-
- name: Build a binary wheel
20+
- uses: actions/checkout@v4
21+
22+
- name: Set up Python
23+
uses: actions/setup-python@v4
24+
with:
25+
python-version: '3.x'
26+
27+
- name: Install pypa/build
2128
run: >-
22-
python setup.py sdist bdist_wheel
29+
python3 -m
30+
pip install
31+
build
32+
--user
33+
34+
- name: Build a binary wheel and a source tarball
35+
run: python3 -m build
2336

2437
- name: Publish distribution 📦 to PyPI
2538
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)