Skip to content

Commit

Permalink
Update GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiSakuma committed May 8, 2024
1 parent b05f42d commit 84f60a2
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 84f60a2

Please sign in to comment.