Skip to content

Commit

Permalink
github: update action versions
Browse files Browse the repository at this point in the history
backport from mpy-cross-v6.3 branch
  • Loading branch information
dlech committed Feb 2, 2025
1 parent de0e0f4 commit 1570a9b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
platforms: all

- name: Build wheels
uses: pypa/cibuildwheel@v2.16.5
uses: pypa/cibuildwheel@v2.22.0
env:
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_ARCHS_LINUX: x86_64 aarch64
Expand Down Expand Up @@ -60,6 +60,9 @@ jobs:
upload_pypi:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
# upload to PyPI on every tag
if: github.event_name == 'push' && github.ref_type == 'tag'
steps:
Expand All @@ -69,7 +72,4 @@ jobs:
merge-multiple: true
path: dist

- uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
- uses: pypa/[email protected]

0 comments on commit 1570a9b

Please sign in to comment.