Skip to content

Commit c8cb785

Browse files
committed
add release action
1 parent d0bb63f commit c8cb785

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/release.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Publish to PyPI
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
12+
- name: Publish a Python distribution to PyPI
13+
uses: pypa/gh-action-pypi-publish@release/v1
14+
with:
15+
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)