Skip to content

Commit

Permalink
try to use trusted publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
rekby committed Mar 22, 2024
1 parent 59aa5c1 commit a0c8986
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
CHANGELOG_FILE: CHANGELOG.md
SETUP_PY_PATH: setup.py

permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing

runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -107,7 +110,7 @@ jobs:
fi;
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
uses: pypa/gh-action-pypi-publish@release/v1.8
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
## 0.0.1b2 ##
* Initial version

0 comments on commit a0c8986

Please sign in to comment.