From 4bbb70de742e13db9b5b793a8e54c70d49bfaccc Mon Sep 17 00:00:00 2001 From: John Kleinschmidt Date: Thu, 18 Oct 2018 11:35:40 -0400 Subject: [PATCH] ci: make sure git directories don't have unneeded files in them (#15247) --- vsts.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/vsts.yml b/vsts.yml index 05861775b702..5f8b5ab0e3c5 100644 --- a/vsts.yml +++ b/vsts.yml @@ -8,11 +8,16 @@ jobs: CI: true steps: + - bash: | + git clean -fdx + displayName: Clean unneeded git directories + timeoutInMinutes: 2 + - task: CopyFiles@2 displayName: 'Copy Files to: src/electron' inputs: TargetFolder: src/electron - timeoutInMinutes: 1 + timeoutInMinutes: 2 - bash: | export PATH="$PATH:/Users/electron/depot_tools"