Skip to content

Commit

Permalink
changed to cibuildwheel
Browse files Browse the repository at this point in the history
  • Loading branch information
rayarxti committed Oct 23, 2024
1 parent b826028 commit b862a6b
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/Package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b862a6b

Please sign in to comment.