Skip to content

Commit 5fed269

Browse files
ianhitomwhite
authored andcommitted
build: adjust github action for pyproject.toml
1 parent 0aeb7c6 commit 5fed269

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/wheels.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Wheels
22

33
on:
4+
# temporarily add PR for this PR to test
5+
pull_request:
46
push:
57
branches:
68
- main
@@ -28,10 +30,10 @@ jobs:
2830
- name: Install dependencies
2931
run: |
3032
python -m pip install --upgrade pip
31-
pip install setuptools twine wheel
33+
pip install setuptools twine wheel build
3234
- name: Build a source distribution and a wheel
3335
run: |
34-
python setup.py sdist bdist_wheel
36+
python -m build --sdist --wheel
3537
python -m twine check --strict dist/*
3638
- name: Upload artifacts
3739
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)