Skip to content

Commit 834dfea

Browse files
author
Daniel Barbalato
committed
Pypi connect
1 parent ebc8745 commit 834dfea

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ jobs:
6363
name: Upload if release
6464
needs: [build_wheels, build_sdist]
6565
runs-on: ubuntu-latest
66+
permissions:
67+
# IMPORTANT: this permission is mandatory for Trusted Publishing
68+
id-token: write
6669
if: github.event_name == 'release' && github.event.action == 'published'
6770

6871
steps:
@@ -75,7 +78,4 @@ jobs:
7578
pattern: cibw-*
7679
path: dist
7780
merge-multiple: true
78-
- uses: pypa/gh-action-pypi-publish@release/v1
79-
with:
80-
user: __token__
81-
password: ${{ secrets.pypi_password }}
81+
- uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)