Skip to content

Commit dc3ec35

Browse files
committed
#3 Add workflow for PyPI
1 parent e022a2a commit dc3ec35

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/pypi.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: PyPI
2+
3+
on:
4+
release:
5+
types:
6+
- created
7+
8+
jobs:
9+
job:
10+
name: PyPI
11+
runs-on: ubuntu-latest
12+
env:
13+
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: actions/setup-python@v4
17+
with:
18+
python-version: "3.12"
19+
- name: Publish package to PyPI
20+
run: pip install poetry && poetry publish --build

0 commit comments

Comments
 (0)