Skip to content

Commit f81d327

Browse files
committed
- new attempt at fixing missing Windows wheels
1 parent 2633bae commit f81d327

File tree

2 files changed

+8
-21
lines changed

2 files changed

+8
-21
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -251,27 +251,14 @@ jobs:
251251
with:
252252
name: zope.interface-${{ runner.os }}-${{ matrix.python-version }}.whl
253253
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.
256258
if: >
257259
github.event_name == 'push'
258260
&& 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')
275262
&& !startsWith(matrix.python-version, 'pypy')
276263
&& !startsWith(matrix.python-version, '3.13')
277264
env:
@@ -629,5 +616,5 @@ jobs:
629616
with:
630617
user: __token__
631618
password: ${{ secrets.TWINE_PASSWORD }}
632-
skip_existing: true
633-
packages_dir: wheelhouse/
619+
skip-existing: true
620+
packages-dir: wheelhouse/

.meta.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# https://github.com/zopefoundation/meta/tree/master/config/c-code
33
[meta]
44
template = "c-code"
5-
commit-id = "7ec8131d"
5+
commit-id = "ae0a9480"
66

77
[python]
88
with-appveyor = true

0 commit comments

Comments
 (0)