File tree Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Upload Python Package
2
+
3
+ on :
4
+ release :
5
+ types :
6
+ - created
7
+
8
+ permissions :
9
+ contents : read
10
+
11
+ jobs :
12
+ publish :
13
+ runs-on : ubuntu-latest
14
+
15
+ steps :
16
+ - uses : actions/checkout@v3
17
+ - name : Set up Python
18
+ uses : actions/setup-python@v3
19
+ with :
20
+ python-version : ' 3.10'
21
+ - name : Install dependencies
22
+ run : |
23
+ python -m pip install --upgrade pip
24
+ pip install poetry
25
+ - name : Authenticate with PyPI
26
+ env :
27
+ POETRY_TOKEN : ${{ secrets.PYPI_TOKEN }}
28
+ run : poetry config pypi-token.pypi $POETRY_TOKEN
29
+ - name : Build and Publish
30
+ run : poetry publish --build
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " pymediator"
3
3
version = " 0.1.0"
4
- description = " "
4
+ description = " Lightweight and extensible implementation of the Mediator pattern in Python "
5
5
authors = [" Sergio Torrado" ]
6
6
license = " MIT"
7
7
readme = " README.md"
8
+ homepage = " https://github.com/serivt/pymediator"
9
+ repository = " https://github.com/serivt/pymediator"
10
+ packages = [
11
+ {include = " pymediator" }
12
+ ]
8
13
9
14
[tool .poetry .dependencies ]
10
15
python = " ^3.10"
You can’t perform that action at this time.
0 commit comments