ci: strip em-dashes from workflow (PS5.1 CP1252 misdecode broke parser run #6)
Build patched rustdesk.exe / Build Win x64 (Sciter UI) (push) Failing after 22s

This commit is contained in:
2026-05-02 22:24:49 +10:00
parent 35963eb7a7
commit ca954e289d
+3 -3
View File
@@ -40,7 +40,7 @@ jobs:
shell: powershell
run: |
if (-not (Test-Path 'C:\LLVM16\bin\libclang.dll')) {
# Portable tar.xz instead of NSIS installer NSIS /S silently
# Portable tar.xz instead of NSIS installer -- NSIS /S silently
# fails on unprivileged runners (some files missing post-install,
# caught run #4: "LLVM 16 install failed" after Start-Process -Wait
# returned 0). Extract via Windows 10/11 built-in tar.exe.
@@ -58,7 +58,7 @@ jobs:
Remove-Item $dst -Force -ErrorAction SilentlyContinue
if (-not (Test-Path 'C:\LLVM16\bin\libclang.dll')) {
Get-ChildItem 'C:\LLVM16' -Recurse -Filter libclang.dll | Select-Object FullName
throw "LLVM 16 extract failed libclang.dll not found"
throw "LLVM 16 extract failed -- libclang.dll not found"
}
}
Write-Output "libclang.dll: $((Get-Item 'C:\LLVM16\bin\libclang.dll').Length) bytes"
@@ -125,7 +125,7 @@ jobs:
$rel = Invoke-RestMethod -Uri "https://git.yowieit.com/api/v1/repos/infra/rustdesk-yowie/releases" -Method Post -Headers $headers -Body $body
Write-Output "release id: $($rel.id), tag: $($rel.tag_name)"
# Upload rustdesk.exe as release asset via curl.exe (Win 10+ bundled)
# PowerShell multipart binary handling is fragile; curl.exe -F is bulletproof.
# -- PowerShell multipart binary handling is fragile; curl.exe -F is bulletproof.
$assetUri = "https://git.yowieit.com/api/v1/repos/infra/rustdesk-yowie/releases/$($rel.id)/assets?name=rustdesk.exe"
& curl.exe -sk -X POST `
-H "Authorization: token $env:RELEASE_TOKEN" `