mirror of
https://github.com/google-gemini/gemini-cli
synced 2026-04-21 13:37:17 +00:00
ci: install bubblewrap on Linux for release workflows (#24347)
This commit is contained in:
parent
119dff3b73
commit
1edc542b55
1 changed files with 7 additions and 0 deletions
7
.github/actions/run-tests/action.yml
vendored
7
.github/actions/run-tests/action.yml
vendored
|
|
@ -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 }}'
|
||||
|
|
|
|||
Loading…
Reference in a new issue