Skip to content

Commit

Permalink
Merge pull request #105 from thc202/fix/release-workflow
Browse files Browse the repository at this point in the history
Fix issues in release workflow
  • Loading branch information
kingthorin authored May 9, 2024
2 parents 964cc8c + 98adc88 commit c0e5ce3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Release PyPI
on:
push:
tags:
- '*'

jobs:
pypi-publish:
Expand All @@ -14,6 +15,13 @@ jobs:
permissions:
id-token: write
steps:
- run: poetry build
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: |
python -m pip install --upgrade pip
pipx install poetry==1.7.0
poetry build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit c0e5ce3

Please sign in to comment.