@@ -251,27 +251,14 @@ jobs:
251
251
with :
252
252
name : zope.interface-${{ runner.os }}-${{ matrix.python-version }}.whl
253
253
path : dist/*whl
254
- - name : Publish package to PyPI (Windows)
255
- uses : pypa/gh-action-pypi-publish@release/v1
254
+ - name : Publish package to PyPI (Non-Linux)
255
+ # We cannot use pypa/gh-action-pypi-publish because that
256
+ # is a container action, and those don't run on macOS
257
+ # or Windows GHA runners.
256
258
if : >
257
259
github.event_name == 'push'
258
260
&& startsWith(github.ref, 'refs/tags')
259
- && startsWith(runner.os, 'Windows')
260
- && !startsWith(matrix.python-version, 'pypy')
261
- && !startsWith(matrix.python-version, '3.13')
262
- with :
263
- user : __token__
264
- password : ${{ secrets.TWINE_PASSWORD }}
265
- skip-existing : true
266
- packages-dir : dist/
267
- - name : Publish package to PyPI (mac)
268
- # We cannot 'uses: pypa/gh-action-pypi-publish@v1.4.1' because
269
- # that's apparently a container action, and those don't run on
270
- # the Mac.
271
- if : >
272
- github.event_name == 'push'
273
- && startsWith(github.ref, 'refs/tags')
274
- && startsWith(runner.os, 'Mac')
261
+ && !startsWith(runner.os, 'Linux')
275
262
&& !startsWith(matrix.python-version, 'pypy')
276
263
&& !startsWith(matrix.python-version, '3.13')
277
264
env :
@@ -629,5 +616,5 @@ jobs:
629
616
with :
630
617
user : __token__
631
618
password : ${{ secrets.TWINE_PASSWORD }}
632
- skip_existing : true
633
- packages_dir : wheelhouse/
619
+ skip-existing : true
620
+ packages-dir : wheelhouse/
0 commit comments