Skip to content

Commit

Permalink
Update GitHub Actions workflow pypi.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiSakuma committed Apr 23, 2024
1 parent 63b7927 commit d2727dc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest

environment: pypi
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -25,10 +27,8 @@ jobs:
pip install --upgrade pip
pip install --upgrade hatch
- name: Build
- name: Build
run: hatch build

- name: pypi-publish
uses: pypa/[email protected]
with:
password: ${{ secrets.PYPI_API_TOKEN }}
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit d2727dc

Please sign in to comment.