File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish to PyPI
2+
3+ on :
4+ release :
5+ types : [published]
6+ workflow_dispatch :
7+
8+ permissions :
9+ id-token : write # Required for trusted publishing
10+ contents : read # Required for checkout
11+
12+ jobs :
13+ publish :
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - name : Checkout repository
18+ uses : actions/checkout@v4
19+
20+ - name : Set up Python
21+ uses : actions/setup-python@v5
22+ with :
23+ python-version : ' 3.11'
24+
25+ - name : Install build dependencies
26+ run : |
27+ python -m pip install --upgrade pip
28+ pip install build
29+
30+ - name : Build package
31+ run : python -m build
32+
33+ - name : Publish to PyPI
34+ uses : pypa/gh-action-pypi-publish@release/v1
35+
Original file line number Diff line number Diff line change 1+ name : Publish to PyPI
2+
3+ on :
4+ release :
5+ types : [published]
6+ workflow_dispatch :
7+
8+ permissions :
9+ id-token : write # Required for trusted publishing
10+ contents : read # Required for checkout
11+
12+ jobs :
13+ publish :
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - name : Checkout repository
18+ uses : actions/checkout@v4
19+
20+ - name : Set up Python
21+ uses : actions/setup-python@v5
22+ with :
23+ python-version : ' 3.11'
24+
25+ - name : Install build dependencies
26+ run : |
27+ python -m pip install --upgrade pip
28+ pip install build
29+
30+ - name : Build package
31+ run : python -m build
32+
33+ - name : Publish to PyPI
34+ uses : pypa/gh-action-pypi-publish@release/v1
35+
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ name = "agent0-sdk"
77version = " 0.2.0"
88description = " Python SDK for agent portability, discovery and trust based on ERC-8004"
99authors = [
10- {name = " Marco De Rossi" , email = " marco@ag0.xyz " }
10+ {name = " Marco De Rossi" , email = " marco.derossi@consensys.net " }
1111]
1212readme = {file = " README.md" , content-type = " text/markdown" }
1313license = {file = " LICENSE" }
You can’t perform that action at this time.
0 commit comments