fix: CI Bundle MinGit 步骤先创建 build/ 目录
This commit is contained in:
1 parent
68e63cb6fc
commit
0bafa4bb2e
1 file changed
+1
@@ -69,6 +69,7 @@ jobs:
|
||||
$dest = "resources/git/win"
|
||||
$zip = "build/mingit.zip"
|
||||
New-Item -ItemType Directory -Force -Path $dest | Out-Null
|
||||
New-Item -ItemType Directory -Force -Path (Split-Path $zip) | Out-Null
|
||||
Invoke-WebRequest -Uri $url -OutFile $zip
|
||||
Expand-Archive -Path $zip -DestinationPath $dest -Force
|
||||
Remove-Item $zip
|
||||
|
||||
Reference in new issue
Block a user