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"