[ci]: further clean up the source directory before checkout

Signed-off-by: Guohan Lu <lguohan@gmail.com>
This commit is contained in:
Guohan Lu 2021-02-03 10:32:27 -08:00
parent 70a6d7618a
commit c591efc4a1

View File

@ -40,6 +40,8 @@ stages:
steps:
- script: |
sudo rm -rf fsroot
username=$(id -un)
sudo chown -R ${username}.${username} .
displayName: 'Cleanup'
- checkout: self
clean: true
@ -68,6 +70,8 @@ stages:
steps:
- script: |
sudo rm -rf fsroot
username=$(id -un)
sudo chown -R ${username}.${username} .
displayName: 'Cleanup'
- checkout: self
clean: true
@ -97,6 +101,8 @@ stages:
steps:
- script: |
sudo rm -rf fsroot
username=$(id -un)
sudo chown -R ${username}.${username} .
displayName: 'Cleanup'
- checkout: self
clean: true