From a04631ee7fc8a11a8a3658c23111a5e5852f6812 Mon Sep 17 00:00:00 2001 From: matteocao <38946719+matteocao@users.noreply.github.com> Date: Thu, 30 May 2024 03:03:48 +0200 Subject: [PATCH] Update wheels.yml --- .github/workflows/wheels.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index fe8451e..c012ef8 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -30,10 +30,15 @@ jobs: # Should generate universal2 wheels for CP3.8 -- CP3.11 CIBW_ARCHS_MACOS: x86_64 universal2 - - name: Publish + - name: Set-up python 3.10 for upload + uses: actions/setup-python@v5 + with: + pytho-version: "pypy3.10" env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + - name: Publish run: | + pip install twine twine check ./wheelhouse/*.whl twine upload --skip-existing ./wheelhouse/*.whl