Skip to content

Commit 7860d1c

Browse files
committed
delete pdb
1 parent 1bb6e14 commit 7860d1c

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/cicd.ps1

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,15 @@ foreach ($SolutionProjectPath in $SolutionProjectPaths) {
432432
}
433433
}
434434

435+
# additional publish cleanups
436+
foreach ($SolutionProjectPath in $SolutionProjectPaths) {
437+
foreach ($ProjectFileInfo in $SolutionProjectPath.Prj) {
438+
$SolutionFileInfo = $SolutionProjectPath.Sln
439+
$PublishDirectory = New-Directory -Paths @($PublishRootPath,$SolutionFileInfo.BaseName,$ProjectFileInfo.BaseName,$ChannelVersionRelativePath)
440+
Remove-FilesByPattern -Path "$PublishDirectory" -Pattern "*.pdb"
441+
}
442+
}
443+
435444
# repository based drops of files.
436445
$RepoPublishDirectory = New-Directory -Paths @($RepoPublishRootPath,$ChannelVersionRelativePath)
437446
foreach ($SolutionProjectPath in $SolutionProjectPaths) {

0 commit comments

Comments
 (0)