diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 23d512471..b205baf04 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -1,6 +1,8 @@ name: Wheels on: + # temporarily add PR for this PR to test + pull_request: push: branches: - main @@ -28,10 +30,10 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install setuptools twine wheel + pip install setuptools twine wheel build - name: Build a source distribution and a wheel run: | - python setup.py sdist bdist_wheel + python -m build --sdist --wheel python -m twine check --strict dist/* - name: Upload artifacts uses: actions/upload-artifact@v4