fix: Fix trace context injection for httpx clients #31
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| jobs: | |
| publish-shared: | |
| runs-on: ubuntu-latest | |
| environment: | |
| name: pypi | |
| url: https://pypi.org/p/agentic-layer-sdk | |
| permissions: | |
| id-token: write | |
| steps: | |
| - name: 'Checkout' | |
| uses: 'actions/checkout@v6' | |
| - name: Install uv | |
| uses: 'astral-sh/setup-uv@v7' | |
| with: | |
| version: "0.10.7" | |
| enable-cache: true | |
| - name: Setup Python | |
| uses: 'actions/setup-python@v6' | |
| with: | |
| python-version-file: "shared/pyproject.toml" | |
| - name: uv Version Bump | |
| working-directory: shared | |
| run: |- | |
| VERSION=${{ github.ref_name }} | |
| uv version "${VERSION#v}" | |
| - name: Build package | |
| working-directory: shared | |
| run: uv build | |
| - name: Publish package to PyPI | |
| uses: pypa/gh-action-pypi-publish@release/v1 | |
| with: | |
| packages-dir: shared/dist | |
| publish: | |
| needs: publish-shared | |
| runs-on: ubuntu-latest | |
| environment: | |
| name: pypi | |
| url: ${{ matrix.pypi_url }} | |
| permissions: | |
| id-token: write | |
| strategy: | |
| matrix: | |
| include: | |
| - package: adk | |
| directory: adk | |
| pypi_url: https://pypi.org/p/agentic-layer-sdk-adk | |
| - package: msaf | |
| directory: msaf | |
| pypi_url: https://pypi.org/p/agentic-layer-sdk-msaf | |
| steps: | |
| - name: 'Checkout' | |
| uses: 'actions/checkout@v6' | |
| - name: Install uv | |
| uses: 'astral-sh/setup-uv@v7' | |
| with: | |
| version: "0.10.7" | |
| enable-cache: true | |
| - name: Setup Python | |
| uses: 'actions/setup-python@v6' | |
| with: | |
| python-version-file: "adk/pyproject.toml" | |
| - name: uv Version Bump | |
| working-directory: ${{ matrix.directory }} | |
| run: |- | |
| VERSION=${{ github.ref_name }} | |
| uv version "${VERSION#v}" | |
| - name: Build package | |
| working-directory: ${{ matrix.directory }} | |
| run: uv build | |
| - name: Publish package to PyPI | |
| uses: pypa/gh-action-pypi-publish@release/v1 | |
| with: | |
| packages-dir: ${{ matrix.directory }}/dist |