Skip to content

Commit

Permalink
add poetry build and update deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
Baukebrenninkmeijer committed Sep 2, 2024
1 parent a60e8da commit db09ba1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
pip install poetry
- name: Build package
run: python -m build
run: poetry build
- name: Publish package
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@v1.4.2
uses: pypa/gh-action-pypi-publish@v1.9.0
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
Expand Down

0 comments on commit db09ba1

Please sign in to comment.