ci\cd fixes
release / create-release (push) Successful in 3s
release / build-macos (push) Successful in 1m50s
release / build-linux (push) Successful in 2m15s
release / build-windows (push) Successful in 6m40s
release / publish (push) Successful in 0s

This commit is contained in:
galeon committed 2026-10-09 00:23:12 +03:00
1 parent 8a3d0596ef
commit fd14b54d8a
1 file changed
+3 -1
+3 -1
View File
@@ -169,7 +169,9 @@ jobs:
$portable = "C:\r\BiLauncher-$env:VERSION" $portable = "C:\r\BiLauncher-$env:VERSION"
Remove-Item -Recurse -Force $portable -ErrorAction SilentlyContinue Remove-Item -Recurse -Force $portable -ErrorAction SilentlyContinue
Move-Item $stage $portable 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" } if ($LASTEXITCODE) { throw "zip" }
Remove-Item -Recurse -Force $portable Remove-Item -Recurse -Force $portable