Sitelet https://github.com/NodeOps-app/createos-sandbox-sdk/commit/8598989467e85b17a7b6ae8cf2742062122e9512
Skip to content

Commit 8598989

Browse files
committed
ci: add setup-python for 20-google-adk-agent example
python3-venv is not present on the arc runner; actions/setup-python installs Python 3.12 with full venv support so the example's auto-venv creation succeeds.
1 parent 4deaa7d commit 8598989

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎.github/workflows/examples.yml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,14 @@ jobs:
129129
working-directory: examples
130130
run: bun install
131131

132+
# example 20 creates a Python venv on first run; setup-python ensures
133+
# venv support is present (plain python3 on Ubuntu lacks python3-venv).
134+
- name: Set up Python (google-adk example)
135+
if: matrix.example == '20-google-adk-agent'
136+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
137+
with:
138+
python-version: "3.12"
139+
132140
- name: Run ${{ matrix.example }}
133141
working-directory: examples/${{ matrix.example }}
134142
env:

0 commit comments

Comments
 (0)