fix(updates): skip redownloading cached packages and disable background updater in CI
CI Test Suite / Run Component Tests & Pipeline Verification (push) Canceled after 0s
Build and Push LOGAR Runner / Build & Push Runner Image (push) Successful in 7m52s
Release Binaries & Packages / Build & Release Standalone Binaries (Linux & Windows Cross-Compilation) (push) Successful in 8m6s
CI Test Suite / Run Component Tests & Pipeline Verification (push) Canceled after 0s
Build and Push LOGAR Runner / Build & Push Runner Image (push) Successful in 7m52s
Release Binaries & Packages / Build & Release Standalone Binaries (Linux & Windows Cross-Compilation) (push) Successful in 8m6s
This commit is contained in:
@@ -327,6 +327,12 @@ class ServerUpdateManager:
|
||||
if not target_os:
|
||||
continue
|
||||
|
||||
# Check if matching version is already cached locally
|
||||
existing_pkg = self.get_hosted_packages().get(target_os)
|
||||
if existing_pkg and existing_pkg.get("exists") and existing_pkg.get("version") == version:
|
||||
results[target_os] = True
|
||||
continue
|
||||
|
||||
filename = os.path.basename(asset.get("name") or f"client_{target_os}")
|
||||
temp_file = os.path.join(temp_dir, filename)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user