Skip to content

Commit 45e2f3f

Browse files
author
Marian Ganisin
committed
github action to release to pypi
1 parent 98fafd8 commit 45e2f3f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: release
2+
on:
3+
push:
4+
tags:
5+
- v*
6+
jobs:
7+
release:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: actions/setup-python@v2
12+
with:
13+
python-version: '3.7'
14+
- name: build
15+
run: python setup.py sdist bdist_wheel
16+
- name: release
17+
uses: pypa/gh-action-pypi-publish@master
18+
with:
19+
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)