ci: only kill WOA processes if they are running (#20274)
This commit is contained in:
parent
b0fe3e20e6
commit
afc59aefb7
1 changed files with 3 additions and 3 deletions
|
@ -77,8 +77,8 @@ steps:
|
||||||
python electron\script\verify-ffmpeg.py --build-dir out\Default --source-root %cd% --ffmpeg-path out\ffmpeg
|
python electron\script\verify-ffmpeg.py --build-dir out\Default --source-root %cd% --ffmpeg-path out\ffmpeg
|
||||||
displayName: 'Verify ffmpeg'
|
displayName: 'Verify ffmpeg'
|
||||||
|
|
||||||
- script: |
|
- powershell: |
|
||||||
taskkill /F /IM electron.exe
|
Get-Process | Where Name –Like "electron.exe*" | Stop-Process
|
||||||
taskkill /F /IM MicrosoftEdge.exe
|
Get-Process | Where Name –Like "MicrosoftEdge.exe*" | Stop-Process
|
||||||
displayName: 'Kill processes left running from last test run'
|
displayName: 'Kill processes left running from last test run'
|
||||||
condition: always()
|
condition: always()
|
Loading…
Add table
Add a link
Reference in a new issue