mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-26 20:24:26 +08:00
Root causes identified and fixed: 1. AirAppHost recursive build issue: - Main project triggers AirAppHost build as post-build step - AirAppHost references main project, creating circular dependency - Added SkipAirAppHostBuild=true to build.yml to break the cycle - Release workflow handles AirAppHost separately in publish step 2. NuGet cache path issues: - Changed from relative path (.nuget/packages) to absolute path - Added NUGET_PACKAGES environment variable with github.workspace - Added actions/cache for NuGet packages across all workflows 3. Missing NuGet package caching: - Added actions/cache@v4 with proper cache keys - Cache key based on Directory.Packages.props hash - Fallback restore keys for partial cache hits These changes should eliminate the intermittent failures caused by: - File locking conflicts from recursive builds - Path resolution inconsistencies - Network-dependent package downloads on every build