Skip to content

Commit

Permalink
couple more fixes and cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Achille Roussel <[email protected]>
  • Loading branch information
achille-roussel committed Feb 13, 2024
1 parent ce77d26 commit fd517af
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:

jobs:
archive:
name: build tar archive
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -23,7 +22,7 @@ jobs:
path: dist/*.tar.gz

build:
name: build wheels for ${{ matrix.python }} on ${{ matrix.os }}
name: build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
permissions:
contents: read
Expand All @@ -34,19 +33,17 @@ jobs:
- windows-latest
- macos-13
- macos-14
python:
- '3.11'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
cache: pip
python-version: ${{ matrix.python }}
python-version: '3.11'
- run: python -m pip install build cibuildwheel==2.16.5
- run: python -m cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.python }}-${{ matrix.os }}-${{ strategy.job-index }}
name: cibw-wheels-${{ matrix.python }}-${{ matrix.os }}
path: wheelhouse/*.whl

test:
Expand All @@ -61,7 +58,6 @@ jobs:
permissions:
id-token: write
steps:
- run: mkdir dist
- uses: actions/download-artifact@v4
with:
path: dist
Expand Down

0 comments on commit fd517af

Please sign in to comment.