File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 - ' v*'
66
77jobs :
8+ publish-shared :
9+ runs-on : ubuntu-latest
10+ environment :
11+ name : pypi
12+ url : https://pypi.org/p/agentic-layer-sdk
13+ permissions :
14+ id-token : write
15+
16+ steps :
17+ - name : ' Checkout'
18+ uses : ' actions/checkout@v6'
19+
20+ - name : Install uv
21+ uses : ' astral-sh/setup-uv@v7'
22+ with :
23+ version : " 0.10.7"
24+ enable-cache : true
25+
26+ - name : Setup Python
27+ uses : ' actions/setup-python@v6'
28+ with :
29+ python-version-file : " shared/pyproject.toml"
30+
31+ - name : uv Version Bump
32+ working-directory : shared
33+ run : |-
34+ VERSION=${{ github.ref_name }}
35+ uv version "${VERSION#v}"
36+
37+ - name : Build package
38+ working-directory : shared
39+ run : uv build
40+
41+ - name : Publish package to PyPI
42+ uses : pypa/gh-action-pypi-publish@release/v1
43+ with :
44+ packages-dir : shared/dist
45+
846 publish :
47+ needs : publish-shared
948 runs-on : ubuntu-latest
1049 environment :
1150 name : pypi
1251 url : ${{ matrix.pypi_url }}
1352 permissions :
1453 id-token : write
1554 strategy :
16- max-parallel : 1
1755 matrix :
1856 include :
1957 - package : adk
You can’t perform that action at this time.
0 commit comments