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 8243b08
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
jobs:
build-and-publish:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/hiero-sdk-python
permissions:
id-token: write
steps:
- uses: actions/checkout@v4

Expand All @@ -30,6 +35,3 @@ jobs:

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 8243b08

Please sign in to comment.