Skip to content

Commit c0e5ce3

Browse files
authored
Merge pull request #105 from thc202/fix/release-workflow
Fix issues in release workflow
2 parents 964cc8c + 98adc88 commit c0e5ce3

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Release PyPI
33
on:
44
push:
55
tags:
6+
- '*'
67

78
jobs:
89
pypi-publish:
@@ -14,6 +15,13 @@ jobs:
1415
permissions:
1516
id-token: write
1617
steps:
17-
- run: poetry build
18+
- uses: actions/checkout@v4
19+
- uses: actions/setup-python@v5
20+
with:
21+
python-version: '3.12'
22+
- run: |
23+
python -m pip install --upgrade pip
24+
pipx install poetry==1.7.0
25+
poetry build
1826
- name: Publish package distributions to PyPI
1927
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)