fix(ci): provide embedded assets for the packaging CLI
Build native USB plugin / windows (push) Canceled after 0s

This commit is contained in:
YXC0915 committed 2026-12-04 22:58:25 +08:00
1 parent 87d75478a6
commit b899fbdb8c
1 file changed
+2
+2
View File
@@ -35,6 +35,8 @@ jobs:
New-Item -ItemType Directory -Path $output | Out-Null
go test -p 2 ./plugins/usb-redir
if ($LASTEXITCODE) { exit $LASTEXITCODE }
New-Item -ItemType Directory -Path 'frontend/dist' -Force | Out-Null
Set-Content -LiteralPath 'frontend/dist/index.html' -Value '<!doctype html>' -Encoding ascii
go build -p 2 -trimpath -o $cli .
if ($LASTEXITCODE) { exit $LASTEXITCODE }
$manifest = Get-Content -LiteralPath 'plugins/usb-redir/plugin.json' -Raw | ConvertFrom-Json