We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e22dc32 commit 57af64aCopy full SHA for 57af64a
.github/workflows/build-test-installer-release.yml
@@ -106,7 +106,16 @@ jobs:
106
run: nuget restore SayMore.sln
107
108
- name: Copy CHM file into DistFiles
109
- run: copy "docs\SayMoreHelp.chm" "DistFiles\SayMoreHelp.chm"
+ shell: pwsh
110
+ run: |
111
+ if (Test-Path 'docs\SayMoreHelp.chm') {
112
+ Copy-Item 'docs\SayMoreHelp.chm' 'DistFiles\SayMoreHelp.chm'
113
+ } elseif (Test-Path 'docs\SayMore.chm') {
114
+ Copy-Item 'docs\SayMore.chm' 'DistFiles\SayMoreHelp.chm'
115
+ } else {
116
+ Write-Error 'No CHM help file found in docs submodule.'
117
+ exit 1
118
+ }
119
120
- name: Setup MSBuild
121
uses: microsoft/setup-msbuild@v2
0 commit comments