ci\cd fixes
This commit is contained in:
1 parent
8a3d0596ef
commit
fd14b54d8a
1 file changed
+3
-1
@@ -169,7 +169,9 @@ jobs:
|
||||
$portable = "C:\r\BiLauncher-$env:VERSION"
|
||||
Remove-Item -Recurse -Force $portable -ErrorAction SilentlyContinue
|
||||
Move-Item $stage $portable
|
||||
tar.exe -a -c -f "$dist\BiLauncher-$env:VERSION-win64-portable.zip" -C C:\r "BiLauncher-$env:VERSION"
|
||||
# Системный bsdtar по полному пути: в PATH раннера раньше стоит GNU tar из Git,
|
||||
# который не умеет zip и принимает «C:» за имя удалённого хоста.
|
||||
& "$env:SystemRoot\System32\tar.exe" -a -c -f "$dist\BiLauncher-$env:VERSION-win64-portable.zip" -C C:\r "BiLauncher-$env:VERSION"
|
||||
if ($LASTEXITCODE) { throw "zip" }
|
||||
Remove-Item -Recurse -Force $portable
|
||||
|
||||
|
||||
Reference in new issue
Block a user