diff --git a/.github/workflows/Package.yml b/.github/workflows/Package.yml index 5827290a..2ddeaf55 100644 --- a/.github/workflows/Package.yml +++ b/.github/workflows/Package.yml @@ -16,20 +16,26 @@ jobs: with: python-version: '3.10' cache: 'pip' - - name: Build source distribution and binary wheel + - name: Setup pip run: | python -m pip install --upgrade pip python -m pip install build --user - python -m build - # python -m build --sdist - # python -m build wheel - # python -m pip install wheel + python -m pip install cibuildwheel + - name: Build source distribution + run: | + python -m build --sdist + - name: Build wheel + run: | + python -m cibuildwheel --output-dir dist/ + env: + CIBW_BUILD: cp310-* - name: Store dist & wheel uses: actions/upload-artifact@v3 with: name: python-package-dist-wheel path: dist/ + publish-to-testpypi: name: Publish Python 🐍 distribution 📦 to TestPyPI needs: