Skip to content

Commit e79bab2

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

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
@@ -59,6 +59,9 @@ jobs:
5959
upload_pypi:
6060
needs: [build_wheels, build_sdist]
6161
runs-on: ubuntu-latest
62+
permissions:
63+
# IMPORTANT: this permission is mandatory for trusted publishing
64+
id-token: write
6265
# upload to PyPI on every tag
6366
if: github.event_name == 'push' && github.ref_type == 'tag'
6467
steps:
@@ -68,7 +71,4 @@ jobs:
6871
merge-multiple: true
6972
path: dist
7073

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

0 commit comments

Comments
 (0)