Skip to content

Commit f9503e8

Browse files
committed
add Release.yml
1 parent 022ae23 commit f9503e8

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/Release.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
build:
10+
11+
runs-on: windows-2022
12+
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: Build and publish
16+
run: |
17+
pip install twine
18+
python setup.py sdist bdist_wheel
19+
twine upload dist/* -u __token__ -p $PYPI_TOKEN
20+
- uses: ncipollo/release-action@v1
21+
with:
22+
artifacts: ""
23+
bodyFile: ""
24+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)