Skip to content

Commit

Permalink
chore: streamline GitHub Actions workflow by removing redundant setup…
Browse files Browse the repository at this point in the history
… step and modifying build command
  • Loading branch information
tundeakins committed Feb 5, 2025
1 parent ac2812b commit f385cda
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/python-publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Build wheels
uses: pypa/[email protected]
env:
# Skip 32-bit builds, musllinux builds, and disable building PyPy wheels on all platforms
CIBW_SKIP: "*-win32 *-manylinux_i686 *musllinux* pp*"

- uses: actions/setup-python@v5
with:
python-version: '3.10'

- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
Expand All @@ -47,7 +47,7 @@ jobs:
# NOTE: put your own distribution build steps here.
python -m pip install --upgrade pip
python -m pip install build
python -m build
python -m build --sdist
- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit f385cda

Please sign in to comment.