forked from mirrors/kingfisher
preparing for v1.99.0
This commit is contained in:
parent
0e1fe0cede
commit
f6e05f0211
31 changed files with 1090 additions and 49 deletions
16
.github/workflows/pypi.yml
vendored
16
.github/workflows/pypi.yml
vendored
|
|
@ -113,12 +113,12 @@ jobs:
|
|||
scripts/build-pypi-wheel.sh \
|
||||
--binary "$linux_x64" \
|
||||
--version "$version" \
|
||||
--plat-name musllinux_1_2_x86_64
|
||||
--plat-name manylinux_2_17_x86_64.musllinux_1_2_x86_64
|
||||
|
||||
scripts/build-pypi-wheel.sh \
|
||||
--binary "$linux_arm64" \
|
||||
--version "$version" \
|
||||
--plat-name musllinux_1_2_aarch64
|
||||
--plat-name manylinux_2_17_aarch64.musllinux_1_2_aarch64
|
||||
|
||||
scripts/build-pypi-wheel.sh \
|
||||
--binary "$mac_x64" \
|
||||
|
|
@ -140,6 +140,18 @@ jobs:
|
|||
--version "$version" \
|
||||
--plat-name win_arm64
|
||||
|
||||
- name: Verify all wheels are platform-specific
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
if ls dist-pypi/*-py3-none-any.whl >/dev/null 2>&1; then
|
||||
echo "::error::Refusing to publish: pure-Python wheel found in dist-pypi/." >&2
|
||||
ls -la dist-pypi/ >&2
|
||||
exit 1
|
||||
fi
|
||||
echo "Wheels to publish:"
|
||||
ls -la dist-pypi/
|
||||
|
||||
- name: Publish to PyPI (Trusted Publishing)
|
||||
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue