From 9ccb148711318cf1e7e6a234803d35dde7f7d7bc Mon Sep 17 00:00:00 2001 From: David Hotham Date: Thu, 28 May 2026 19:36:30 +0100 Subject: [PATCH] build and publish a wheel --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1176903..ddbfe55 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: python-version: "3.10" - run: | - pip install packaging + pip install build packaging - name: Normalize the release version run: | echo "release_version=`echo '${{ github.event.inputs.requested_release_tag }}' | sed 's/^v//'`" >> $GITHUB_ENV @@ -76,8 +76,8 @@ jobs: ref: 'refs/tags/${{ env.release_tag }}', sha: context.sha }) - - name: Build Source Distribution + - name: Build Distributions run: | - python setup.py sdist + python -m build - name: Upload to PyPI uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0