ci: make compose installation resilient on ubuntu runners

This commit is contained in:
beatz174-bit
2026-05-13 07:49:34 +10:00
parent c0360a14b9
commit 696cecfecb
+8 -1
View File
@@ -33,7 +33,14 @@ jobs:
- name: Install tooling
run: |
sudo apt-get update
sudo apt-get install -y docker-compose-plugin graphviz jq python3 python3-pip
sudo apt-get install -y graphviz jq python3 python3-pip
if ! docker compose version >/dev/null 2>&1; then
sudo apt-get install -y docker-compose-v2 || sudo apt-get install -y docker-compose || true
fi
if ! docker compose version >/dev/null 2>&1; then
echo "docker compose CLI is unavailable on this runner" >&2
exit 1
fi
python3 -m pip install --user pyyaml jinja2
- name: Generate documentation
run: |