Skip to content

v1.0.0 — Initial Release #1

v1.0.0 — Initial Release

v1.0.0 — Initial Release #1

Workflow file for this run

name: Publish Packages
on:
release:
types: [published]
workflow_dispatch:
inputs:
package:
description: "Package to publish"
required: true
type: choice
options:
- agent-os
- agent-mesh
- agent-hypervisor
- agent-sre
- agent-compliance
- all
permissions:
contents: read
id-token: write
jobs:
publish:
runs-on: ubuntu-latest
strategy:
matrix:
package: [agent-os, agent-mesh, agent-hypervisor, agent-sre, agent-compliance]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: "3.11"
- name: Install build tools
run: pip install build twine
- name: Build ${{ matrix.package }}
working-directory: packages/${{ matrix.package }}
run: python -m build
- name: Publish ${{ matrix.package }} to PyPI
working-directory: packages/${{ matrix.package }}
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: twine upload dist/* --skip-existing