From ada214bf476195c5732c2dfdc84d0df940151269 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Laban?= Date: Fri, 15 Nov 2024 10:23:21 -0500 Subject: [PATCH] chore: Adjust for disk footprint --- build/templates/package-validation.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build/templates/package-validation.yml b/build/templates/package-validation.yml index 77a09d31..f03b0abb 100644 --- a/build/templates/package-validation.yml +++ b/build/templates/package-validation.yml @@ -106,7 +106,13 @@ steps: - script: dotnet new install "$(System.ArtifactsDirectory)/$(Build.DefinitionName)/Uno.Templates*.nupkg" displayName: Install Project Templates - + +- bash: | + cd ~/.nuget + rm -fR *.nupkg + displayName: Cleanup nupkg from package cache + condition: eq(variables['Agent.OS'], 'Linux') + - pwsh: | dotnet nuget add source -n nuget_local $(Build.SourcesDirectory)/src/PackageCache dotnet nuget add source -n uno_dev "https://pkgs.dev.azure.com/uno-platform/1dd81cbd-cb35-41de-a570-b0df3571a196/_packaging/unoplatformdev/nuget/v3/index.json"