File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed
Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+ on :
3+ release :
4+ types : [published]
5+
6+ jobs :
7+ release :
8+ name : Release to PyPI
9+ runs-on : ubuntu-latest
10+ permissions :
11+ contents : read
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v6
15+ - name : setup python
16+ uses : actions/setup-python@v6
17+ with :
18+ python-version : 3.9
19+ - name : Install build dependencies
20+ run : pip install build
21+ - name : Build package
22+ run : python -m build
23+ - name : Publish to PyPI
24+ uses : pypa/gh-action-pypi-publish@release/v1
25+ with :
26+ user : __token__
27+ password : ${{ secrets.PYPI_UPLOAD_TOKEN }}
28+
Original file line number Diff line number Diff line change @@ -51,3 +51,11 @@ notifications = "tutorplatformnotifications.plugin"
5151
5252[tool .setuptools .dynamic ]
5353version = {attr = " tutorplatformnotifications.__about__.__version__" }
54+
55+ [build-system ]
56+ requires = [" setuptools>=61.0" ]
57+ build-backend = " setuptools.build_meta"
58+
59+ [tool .setuptools .packages .find ]
60+ where = [" ." ]
61+ include = [" tutorplatformnotifications*" ]
You can’t perform that action at this time.
0 commit comments