Skip to content

Commit 3a5c55f

Browse files
authored
Update build-wheels.yml
1 parent c540c7b commit 3a5c55f

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

.github/workflows/build-wheels.yml

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ${{ matrix.os }}
1717
strategy:
1818
matrix:
19-
os: [windows-latest] #[ubuntu-latest, windows-latest, macos-13, macos-14]
19+
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
2020

2121
steps:
2222
- name: Checkout code
@@ -46,8 +46,7 @@ jobs:
4646
uses: pypa/cibuildwheel@v2.22.0
4747
env:
4848
# All cibuildwheel options are here (nothing "hidden" in pyproject.toml)
49-
#CIBW_SKIP: "*-win32 *i686 pp3* *-musllinux_*"
50-
CIBW_SKIP: "*i686 pp3* *-musllinux_*"
49+
CIBW_SKIP: "*-win32 *i686 pp3* *-musllinux_*"
5150
CIBW_BUILD_FRONTEND: build
5251
CIBW_BUILD_VERBOSITY: 1
5352
CIBW_TEST_REQUIRES: pytest scipy
@@ -88,23 +87,23 @@ jobs:
8887
name: cibw-sdist
8988
path: dist/*.tar.gz
9089

91-
# upload_pypi:
92-
# name: Publish to PyPI
93-
# needs: [build_wheels, build_sdist]
94-
# runs-on: ubuntu-latest
95-
# environment:
96-
# name: pypi
97-
# permissions:
98-
# id-token: write
99-
# if: github.event_name == 'release' && github.event.action == 'published'
100-
# steps:
101-
# - uses: actions/download-artifact@v4
102-
# with:
103-
# pattern: cibw-*
104-
# path: dist
105-
# merge-multiple: true
90+
upload_pypi:
91+
name: Publish to PyPI
92+
needs: [build_wheels, build_sdist]
93+
runs-on: ubuntu-latest
94+
environment:
95+
name: pypi
96+
permissions:
97+
id-token: write
98+
if: github.event_name == 'release' && github.event.action == 'published'
99+
steps:
100+
- uses: actions/download-artifact@v4
101+
with:
102+
pattern: cibw-*
103+
path: dist
104+
merge-multiple: true
106105

107-
# - uses: pypa/gh-action-pypi-publish@release/v1
106+
- uses: pypa/gh-action-pypi-publish@release/v1
108107

109108
# upload_test_pypi:
110109
# name: Publish to TestPyPI

0 commit comments

Comments
 (0)