diff --git a/build/templates/package-validation.yml b/build/templates/package-validation.yml index 9a630e57..d5065d83 100644 --- a/build/templates/package-validation.yml +++ b/build/templates/package-validation.yml @@ -111,8 +111,7 @@ steps: displayName: Install Project Templates - bash: | - cd ~/.nuget - rm -fRv *.nupkg + find ~/.nuget -type f -name "*.nupkg" -exec rm {} \; displayName: Cleanup nupkg from package cache condition: eq(variables['Agent.OS'], 'Linux')