Skip to content

Commit 69bb880

Browse files
kissgyorgymartonilles
authored andcommitted
feat(ci): PyPI release GH action
1 parent 5314f76 commit 69bb880

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: PyPI Release
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
release:
9+
runs-on: ubuntu-20.04
10+
11+
steps:
12+
- name: Checkout source code
13+
uses: actions/checkout@v2
14+
15+
- name: Setup dependencies
16+
uses: ./.github/actions/setup-dependencies
17+
18+
- run: poetry publish --build
19+
env:
20+
POETRY_PYPI_TOKEN_PYPI: ${{secrets.POETRY_PYPI_TOKEN_PYPI}}

0 commit comments

Comments
 (0)