Skip to content

Commit

Permalink
update release script
Browse files Browse the repository at this point in the history
  • Loading branch information
jschlyter committed Dec 17, 2024
1 parent 7d41e35 commit 078055f
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,17 @@ jobs:
pypi_release:
name: Build with Poetry and Publish to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/chargeamps
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Install and configure Poetry
run: |
pip install poetry
poetry config pypi-token.pypi "${{ secrets.PYPI_TOKEN }}"
run: pip install poetry
- name: Publish package
run: poetry publish --build
run: poetry build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 078055f

Please sign in to comment.