Skip to content

Commit

Permalink
change flows to pypi-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
xnetcat authored Mar 30, 2024
1 parent c646615 commit bd38845
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -39,11 +42,8 @@ jobs:
run: |
poetry build
- name: Publish on Pip
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: twine upload dist/*
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

build:
strategy:
Expand Down

0 comments on commit bd38845

Please sign in to comment.