Skip to content

Commit 3211b94

Browse files
committed
Add publish workflow (untested)
1 parent 513ef03 commit 3211b94

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: publish
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v**'
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
env:
12+
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.POETRY_PYPI_TOKEN_PYPI }}
13+
steps:
14+
- uses: actions/checkout@v4
15+
- run: pipx install poetry
16+
- uses: actions/setup-python@v5
17+
with:
18+
python-version: '3.12'
19+
cache: poetry
20+
- run: poetry build
21+
- run: poetry publish

0 commit comments

Comments
 (0)