From ca954e289d934a638eeddc179b06893b5a4619d2 Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 2 May 2026 22:24:49 +1000 Subject: [PATCH] ci: strip em-dashes from workflow (PS5.1 CP1252 misdecode broke parser run #6) --- .gitea/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 67014cd68..c9463ef08 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -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" `