@@ -23,7 +23,7 @@ permissions:
23
23
24
24
jobs :
25
25
build_sdist :
26
- if : |
26
+ if : >-
27
27
github.event_name == 'push' ||
28
28
github.event_name == 'pull_request' && (
29
29
(
76
76
if-no-files-found : error
77
77
78
78
build_wheels :
79
- if : |
79
+ if : >-
80
80
github.event_name == 'push' ||
81
81
github.event_name == 'pull_request' && (
82
82
(
@@ -101,9 +101,10 @@ jobs:
101
101
# If using all `--pre` releases creates issues, the NumPy wheel can be
102
102
# installed more targeted.
103
103
CIBW_BUILD_FRONTEND : >-
104
- ${{ ((( github.event_name == 'push' && github.ref == 'refs/heads/main') ||
104
+ ${{ ((github.event_name == 'push' && github.ref == 'refs/heads/main') ||
105
105
(github.event_name == 'pull_request' && github.base_ref == 'main')) &&
106
- 'pip; args: --pre --extra-index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple"') ||
106
+ 'pip; args: --pre
107
+ --extra-index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple"' ||
107
108
'build' }}
108
109
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS : >-
109
110
delvewheel repair -w {dest_dir} {wheel}
@@ -146,39 +147,39 @@ jobs:
146
147
path : dist/
147
148
148
149
- name : Build wheels for CPython 3.12
149
- uses : pypa/cibuildwheel@ce3fb7832089eb3e723a0a99cab7f3eaccf074fd # v2.16.5
150
+ uses : pypa/cibuildwheel@ce3fb7832089eb3e723a0a99cab7f3eaccf074fd # v2.16.5
150
151
with :
151
152
package-dir : dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
152
153
env :
153
154
CIBW_BUILD : " cp312-*"
154
155
CIBW_ARCHS : ${{ matrix.cibw_archs }}
155
156
156
157
- name : Build wheels for CPython 3.11
157
- uses : pypa/cibuildwheel@ce3fb7832089eb3e723a0a99cab7f3eaccf074fd # v2.16.5
158
+ uses : pypa/cibuildwheel@ce3fb7832089eb3e723a0a99cab7f3eaccf074fd # v2.16.5
158
159
with :
159
160
package-dir : dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
160
161
env :
161
162
CIBW_BUILD : " cp311-*"
162
163
CIBW_ARCHS : ${{ matrix.cibw_archs }}
163
164
164
165
- name : Build wheels for CPython 3.10
165
- uses : pypa/cibuildwheel@ce3fb7832089eb3e723a0a99cab7f3eaccf074fd # v2.16.5
166
+ uses : pypa/cibuildwheel@ce3fb7832089eb3e723a0a99cab7f3eaccf074fd # v2.16.5
166
167
with :
167
168
package-dir : dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
168
169
env :
169
170
CIBW_BUILD : " cp310-*"
170
171
CIBW_ARCHS : ${{ matrix.cibw_archs }}
171
172
172
173
- name : Build wheels for CPython 3.9
173
- uses : pypa/cibuildwheel@ce3fb7832089eb3e723a0a99cab7f3eaccf074fd # v2.16.5
174
+ uses : pypa/cibuildwheel@ce3fb7832089eb3e723a0a99cab7f3eaccf074fd # v2.16.5
174
175
with :
175
176
package-dir : dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
176
177
env :
177
178
CIBW_BUILD : " cp39-*"
178
179
CIBW_ARCHS : ${{ matrix.cibw_archs }}
179
180
180
181
- name : Build wheels for PyPy
181
- uses : pypa/cibuildwheel@ce3fb7832089eb3e723a0a99cab7f3eaccf074fd # v2.16.5
182
+ uses : pypa/cibuildwheel@ce3fb7832089eb3e723a0a99cab7f3eaccf074fd # v2.16.5
182
183
with :
183
184
package-dir : dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
184
185
env :
@@ -212,4 +213,4 @@ jobs:
212
213
run : ls dist
213
214
214
215
- name : Publish package distributions to PyPI
215
- uses : pypa/gh-action-pypi-publish@2f6f737ca5f74c637829c0f5c3acd0e29ea5e8bf # v1.8.11
216
+ uses : pypa/gh-action-pypi-publish@2f6f737ca5f74c637829c0f5c3acd0e29ea5e8bf # v1.8.11
0 commit comments