Skip to content

Commit 1570a9b

Browse files
committed
github: update action versions
backport from mpy-cross-v6.3 branch
1 parent de0e0f4 commit 1570a9b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
platforms: all
3131

3232
- name: Build wheels
33-
uses: pypa/cibuildwheel@v2.16.5
33+
uses: pypa/cibuildwheel@v2.22.0
3434
env:
3535
CIBW_ARCHS_MACOS: x86_64 arm64
3636
CIBW_ARCHS_LINUX: x86_64 aarch64
@@ -60,6 +60,9 @@ jobs:
6060
upload_pypi:
6161
needs: [build_wheels, build_sdist]
6262
runs-on: ubuntu-latest
63+
permissions:
64+
# IMPORTANT: this permission is mandatory for trusted publishing
65+
id-token: write
6366
# upload to PyPI on every tag
6467
if: github.event_name == 'push' && github.ref_type == 'tag'
6568
steps:
@@ -69,7 +72,4 @@ jobs:
6972
merge-multiple: true
7073
path: dist
7174

72-
- uses: pypa/[email protected]
73-
with:
74-
user: __token__
75-
password: ${{ secrets.PYPI_TOKEN }}
75+
- uses: pypa/[email protected]

0 commit comments

Comments
 (0)