diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 30b9bb3..eac3107 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -11,6 +11,13 @@ env: REGISTRY: gitea.dev.marcus-law.co.il CDN_IMAGE_NAME: espocrm-extensions/outlook-addin-cdn PROVIDER_URL: 'https://platform.dev.marcus-law.co.il/outlook-addin/OutlookAddin.vsto' + # Force NuGet to install + resolve packages outside C:\Windows\System32\. + # NuGet's UserProfile lookup uses SHGetKnownFolderPath which ignores our + # USERPROFILE override and returns the LocalSystem profile when the runner + # service runs as LocalSystem. 32-bit MSBuild then hits Win32 File System + # Redirector and "loses" packages -> NETSDK1064. NUGET_PACKAGES short- + # circuits the lookup and keeps everything outside system32. + NUGET_PACKAGES: 'C:\actions-home\.nuget\packages' jobs: build: