fix(ci): install Flutter runner prerequisites
Pixel 10 APK / build (push) Failing after 19m20s

This commit is contained in:
Codex
2026-08-09 18:03:01 +02:00
parent 1046a1fe71
commit 56fe95dbd4
+23
View File
@@ -17,6 +17,29 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install runner prerequisites
shell: bash
run: |
set -euo pipefail
required_commands=(jq unzip zip xz readelf python3)
missing_command=false
for command_name in "${required_commands[@]}"; do
if ! command -v "$command_name" >/dev/null 2>&1; then
missing_command=true
break
fi
done
if [[ "$missing_command" == "true" ]]; then
sudo_command=()
if [[ "$EUID" -ne 0 ]]; then
sudo_command=(sudo)
fi
export DEBIAN_FRONTEND=noninteractive
"${sudo_command[@]}" apt-get update
"${sudo_command[@]}" apt-get install -y --no-install-recommends \
jq unzip zip xz-utils binutils python3
fi
- name: Validate signing configuration - name: Validate signing configuration
shell: bash shell: bash
run: | run: |