Skip to content

Commit

Permalink
Merge pull request #9 from AllenCellModeling/bugfix/trusted-publishing
Browse files Browse the repository at this point in the history
Switch to PyPi trusted publishing
  • Loading branch information
pgarrison authored Aug 10, 2023
2 parents 418070a + d7d46e2 commit 05e6645
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
# this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v1
- name: Set up Python
Expand All @@ -23,6 +26,3 @@ jobs:
python setup.py sdist bdist_wheel
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit 05e6645

Please sign in to comment.