ci: clean git before building (#15889)
This commit is contained in:
parent
b8c8a6f4b9
commit
10b642506f
1 changed files with 6 additions and 0 deletions
6
vsts.yml
6
vsts.yml
|
@ -6,6 +6,12 @@ steps:
|
||||||
displayName: Skip build on older branch
|
displayName: Skip build on older branch
|
||||||
condition: ne(variables['ELECTRON_RELEASE'], '1')
|
condition: ne(variables['ELECTRON_RELEASE'], '1')
|
||||||
|
|
||||||
|
- bash: |
|
||||||
|
git clean -fdx
|
||||||
|
displayName: Clean unneeded git directories
|
||||||
|
timeoutInMinutes: 2
|
||||||
|
condition: eq(variables['ELECTRON_RELEASE'], '1')
|
||||||
|
|
||||||
- bash: |
|
- bash: |
|
||||||
echo 'Bootstrapping Electron for release build'
|
echo 'Bootstrapping Electron for release build'
|
||||||
script/bootstrap.py --target_arch=$TARGET_ARCH
|
script/bootstrap.py --target_arch=$TARGET_ARCH
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue