diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 19e9711..92c23db 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,9 +17,22 @@ jobs: id-token: write steps: - - name: Build a binary wheel + - uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.x' + + - name: Install pypa/build run: >- - python setup.py sdist bdist_wheel + python3 -m + pip install + build + --user + + - name: Build a binary wheel and a source tarball + run: python3 -m build - name: Publish distribution 📦 to PyPI uses: pypa/gh-action-pypi-publish@release/v1