Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit48b5dbf

Browse files
authored
Merge pull request#1823 from stonebig/master
pwsh is not forgiving
2 parents0a654cf +c63fab9 commit48b5dbf

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

‎.github/workflows/github_workflows_build-all_3.14.yml‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,6 @@ jobs:
154154
Write-Host "Downloading Pandoc from $env:pandoc_source"
155155
curl.exe -L -o $pandocZipPath $env:pandoc_source
156156
157-
# Create the target directory
158-
Write-Host "Creating directory $targetDir"
159-
mkdir $targetDir
160-
161157
# Create a temporary directory for extraction
162158
Write-Host "Creating temporary directory for extraction"
163159
mkdir -p $tempDir
@@ -168,7 +164,9 @@ jobs:
168164
169165
# Create the final target directory
170166
Write-Host "Creating final target directory: $targetDir"
171-
mkdir -p $targetDir
167+
if (-not (Test-Path -Path $targetDir)) {
168+
mkdir -p $targetDir
169+
}
172170
173171
# Find and copy only the pandoc.exe file
174172
Write-Host "Copying pandoc.exe to $targetDir"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp