Skip to content

Commit a0c8986

Browse files
committed
try to use trusted publisher
1 parent 59aa5c1 commit a0c8986

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/python-publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
CHANGELOG_FILE: CHANGELOG.md
3535
SETUP_PY_PATH: setup.py
3636

37+
permissions:
38+
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
39+
3740
runs-on: ubuntu-latest
3841

3942
steps:
@@ -107,7 +110,7 @@ jobs:
107110
fi;
108111
109112
- name: Publish package
110-
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
113+
uses: pypa/gh-action-pypi-publish@release/v1.8
111114
with:
112115
user: __token__
113116
password: ${{ secrets.PYPI_API_TOKEN }}

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
## 0.0.1b2 ##
21
* Initial version

0 commit comments

Comments
 (0)