Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit a37ed00

Browse files
authored
Merge pull request #3 from PowerShell/clean-releasebuild
make sure cleaning folders doesn't fail
2 parents 9e8f48c + 62b0467 commit a37ed00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

yaml/releaseBuild.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ stages:
4949
steps:
5050
- pwsh: |
5151
# build agents get reused so we make sure to remove the old archive
52-
Remove-Item -Path $(Build.SourcesDirectory)/SignedZip -Recurse -Force
53-
Remove-Item -Path $(Build.SourcesDirectory)/Microsoft.PowerShell.TextUtility -Recurse -Force
52+
Remove-Item -Path $(Build.SourcesDirectory)/SignedZip -Recurse -Force -ErrorAction Ignore
53+
Remove-Item -Path $(Build.SourcesDirectory)/Microsoft.PowerShell.TextUtility -Recurse -Force -ErrorAction Ignore
5454
.\build.ps1 -Clean
5555
Remove-Item .\out\*.pdb
5656
displayName: Build

0 commit comments

Comments
 (0)