Skip to content

Commit

Permalink
Update wheel release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dokempf committed Feb 25, 2025
1 parent 936a1f3 commit d2ab357
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,11 @@ jobs:

strategy:
matrix:
include:
- os: ubuntu-22.04
arch: "x86_64"
- os: windows-2019
arch: "AMD64"
- os: macos-13
arch: "x86_64"
os:
- ubuntu-24.04
- windows-2022
- macos-13
- macos-14

steps:
- uses: actions/checkout@v4
Expand All @@ -34,8 +32,6 @@ jobs:

- name: Build wheels (arch=${{ matrix.arch }})
uses: pypa/[email protected]
env:
CIBW_ARCHS: "${{ matrix.arch }}"

- run: ls -al ./wheelhouse

Expand All @@ -45,7 +41,7 @@ jobs:

build-sdist:
name: Build source distribution
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand All @@ -67,9 +63,9 @@ jobs:
strategy:
matrix:
os:
- ubuntu-22.04
- windows-2019
- macos-13
- ubuntu-24.04
- windows-2022
- macos-14

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -105,7 +101,7 @@ jobs:

upload_testpypi:
needs: [build-sdist, test-sdist, build-wheels]
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
id-token: write

Expand All @@ -122,7 +118,7 @@ jobs:

upload_pypi:
needs: [build-sdist, build-wheels, upload_testpypi]
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
id-token: write

Expand Down

0 comments on commit d2ab357

Please sign in to comment.