From c6fd78e76fbc88cb226580480739c2638595a2d6 Mon Sep 17 00:00:00 2001 From: Jose Falanga Date: Thu, 15 Oct 2026 11:37:51 -0300 Subject: [PATCH] ci: extract the Godot build with python3 instead of unzip The runner image is Debian 11 based, not ubuntu-24.04, and its apt index points at an unzip build that is no longer in the security pool, so the dependency install 404s and the build never starts. --- .forgejo/workflows/build.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 14ba83d..8fe5fda 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -16,15 +16,17 @@ jobs: - name: Install dependencies run: | - apt-get update -qq - apt-get install -y -qq make git wget unzip + apt-get update + apt-get install -y -qq make git wget - name: Install Godot run: | wget -q https://github.com/godotengine/godot/releases/download/4.4.1-stable/Godot_v4.4.1-stable_linux.x86_64.zip - unzip -q Godot_v4.4.1-stable_linux.x86_64.zip + # python3 instead of unzip: the runner's apt index goes stale and the + # pinned unzip deb 404s in the security pool. + python3 -m zipfile -e Godot_v4.4.1-stable_linux.x86_64.zip godot-dir mkdir -p "$HOME/.local/bin" - mv Godot_v4.4.1-stable_linux.x86_64 "$HOME/.local/bin/godot" + mv godot-dir/Godot_v4.4.1-stable_linux.x86_64 "$HOME/.local/bin/godot" chmod +x "$HOME/.local/bin/godot" echo "$HOME/.local/bin" >> "$GITHUB_PATH"