Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pypa/cibuildwheel from 2.19.2 to 2.21.2 in the github-actions group across 1 directory #83

Merged
merged 2 commits into from
Oct 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 8 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:

jobs:
upload-pypi:
permissions:
id-token: write
runs-on: ubuntu-latest
steps:
- name: Set up Python
Expand All @@ -33,9 +35,9 @@ jobs:
platforms: aarch64

- name: Build wheels with cibuildwheels
uses: pypa/cibuildwheel@v2.19.2
uses: pypa/cibuildwheel@v2.21.2
env:
CIBW_ARCHS_LINUX: aarch64 native
CIBW_ARCHS_LINUX: aarch64 native armv7l
CIBW_SKIP: cp36* pp* *musllinux*

- name: Move cross-compiled wheels to dist folder
Expand All @@ -57,15 +59,11 @@ jobs:

- name: Publish package (to TestPyPI)
if: github.event_name == 'workflow_dispatch'
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }}
run: twine upload --repository testpypi dist/*
uses: pypa/[email protected]
with:
repository-url: https://test.pypi.org/legacy/

- name: Publish to PyPi
# only upload distributions to PyPi when triggered by a published release
if: github.event_name == 'release'
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.pypi_token }}
run: twine upload dist/*
uses: pypa/[email protected]