File tree Expand file tree Collapse file tree 2 files changed +31
-4
lines changed Expand file tree Collapse file tree 2 files changed +31
-4
lines changed Original file line number Diff line number Diff line change 1+ name : Publish to PyPI
2+
3+ on :
4+ push :
5+ tags :
6+ - " v*.*.*" # e.g. v1.2.3
7+
8+ jobs :
9+ build-and-upload :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : read
13+ steps :
14+ - uses : actions/checkout@v4
15+
16+ - uses : actions/setup-python@v5
17+ with :
18+ python-version : " 3.11" # choose what you like
19+
20+ - name : Install build tools
21+ run : python -m pip install --upgrade build twine
22+
23+ - name : Build wheel & sdist
24+ run : python -m build # outputs to ./dist
25+
26+ - name : Upload to PyPI
27+ env :
28+ TWINE_USERNAME : __token__
29+ TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
30+ run : python -m twine upload dist/* --non-interactive
Original file line number Diff line number Diff line change @@ -4,10 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " siren-ai"
7- version = " 0.2.0"
8- authors = [
9- {
name =
" Jithu" ,
email =
" [email protected] " },
10- ]
7+ version = " 0.1.0"
118description = " Python SDK for the Siren Notification Platform."
129readme = " README.md"
1310requires-python = " >=3.8"
You can’t perform that action at this time.
0 commit comments