Skip to content

Commit 1abf60d

Browse files
committed
set as trusted publisher
1 parent 5e1a673 commit 1abf60d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ jobs:
1111
build_and_upload:
1212
runs-on: arc-amd64-runners
1313
environment: production
14+
permissions:
15+
# id-token for the trusted publisher setup
16+
id-token: write
1417
steps:
1518
- uses: actions/checkout@v2
1619

@@ -76,6 +79,3 @@ jobs:
7679
python setup.py sdist
7780
- name: Upload to PyPI
7881
uses: closeio/gh-action-pypi-publish@a260c7e54e4251db69485e1e7ca271aec8c0ddf9
79-
with:
80-
user: __token__
81-
password: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)