ci: install bubblewrap on Linux for release workflows (#24347)

This commit is contained in:
Emily Hedlund 2026-03-31 14:19:48 -04:00 committed by GitHub
parent 119dff3b73
commit 1edc542b55
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,6 +18,13 @@ runs:
env:
JSON_INPUTS: '${{ toJSON(inputs) }}'
run: 'echo "$JSON_INPUTS"'
- name: 'Install system dependencies'
if: "runner.os == 'Linux'"
run: |
sudo apt-get update -qq && sudo DEBIAN_FRONTEND=noninteractive apt-get install -y -qq bubblewrap
# Ubuntu 24.04+ requires this to allow bwrap to function in CI
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 || true
shell: 'bash'
- name: 'Run Tests'
env:
GEMINI_API_KEY: '${{ inputs.gemini_api_key }}'