We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
2 parents0a654cf +c63fab9 commit48b5dbfCopy full SHA for 48b5dbf
.github/workflows/github_workflows_build-all_3.14.yml
@@ -154,10 +154,6 @@ jobs:
154
Write-Host "Downloading Pandoc from $env:pandoc_source"
155
curl.exe -L -o $pandocZipPath $env:pandoc_source
156
157
- # Create the target directory
158
- Write-Host "Creating directory $targetDir"
159
- mkdir $targetDir
160
-
161
# Create a temporary directory for extraction
162
Write-Host "Creating temporary directory for extraction"
163
mkdir -p $tempDir
@@ -168,7 +164,9 @@ jobs:
168
164
169
165
# Create the final target directory
170
166
Write-Host "Creating final target directory: $targetDir"
171
- mkdir -p $targetDir
167
+ if (-not (Test-Path -Path $targetDir)) {
+ mkdir -p $targetDir
+ }
172
173
# Find and copy only the pandoc.exe file
174
Write-Host "Copying pandoc.exe to $targetDir"