Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lymereJ authored Feb 22, 2024
1 parent 8d11503 commit 49c1aea
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,16 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: python3 -m pip install --upgrade build && python3 -m build
- name: Publish package
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Build wheels and source tarball
run: >-
poetry build
- name: publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
skip_existing: true

0 comments on commit 49c1aea

Please sign in to comment.