Skip to content

Commit

Permalink
PyPI trusted publishing workflow changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmindset committed May 21, 2024
1 parent 1b74639 commit fb68ab7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/insolver-pypi-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ permissions:
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/insolver/
permissions:
id-token: write

steps:
- uses: actions/checkout@v4
Expand All @@ -26,6 +31,3 @@ jobs:
run: poetry build
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit fb68ab7

Please sign in to comment.