ci: fix apt-get update before install, guard template extraction

This commit is contained in:
god
2026-07-04 21:56:03 +08:00
parent 939d2b0ac2
commit 4c6c8e1587
2 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ jobs:
- name: Setup Godot (Cached)
run: |
apt-get install -y zip
apt-get update -qq && apt-get install -y -qq unzip curl
if [ ! -f /cache/godot_4.7 ]; then
echo "Downloading Godot 4.7..."
curl -sL -o /tmp/godot.zip "https://github.com/godotengine/godot-builds/releases/download/4.7-stable/Godot_v4.7-stable_linux.x86_64.zip"