Skip to content

Commit

Permalink
chore: update publish to use environment
Browse files Browse the repository at this point in the history
Signed-off-by: Ry Jones <[email protected]>
  • Loading branch information
ryjones committed Jan 31, 2025
1 parent b4c7a70 commit ec92523
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ jobs:
run: python -m build

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
environment:
name: pypi
url: https://pypi.org/p/hiero-sdk-python
permissions:
id-token: write
uses:
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit ec92523

Please sign in to comment.