[ci]: move cleanup before archive artifacts (#6749)
Signed-off-by: Guohan Lu <lguohan@gmail.com>
This commit is contained in:
parent
d8fe592e2b
commit
ed9a14f0af
@ -97,7 +97,7 @@ jobs:
|
||||
fi
|
||||
make USERNAME=admin $CACHE_OPTIONS SONIC_BUILD_JOBS=$(nproc) target/sonic-${{ parameters.platform }}.bin
|
||||
displayName: 'Build sonic image'
|
||||
- template: cleanup.yml
|
||||
- publish: $(System.DefaultWorkingDirectory)/
|
||||
artifact: sonic-buildimage.${{ parameters.platform }}
|
||||
displayName: "Archive sonic image"
|
||||
- template: cleanup.yml
|
||||
|
Loading…
Reference in New Issue
Block a user