ci: try downloading artifact in desktop prepare

pull/5339/head
Brendan Allan 2025-12-22 17:45:30 +08:00
parent 6339f39871
commit f9c10c62d8
No known key found for this signature in database
GPG Key ID: 41E835AEA046A32E
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ const sidecarConfig = getCurrentSidecar()
const dir = "src-tauri/target/opencode-binaries"
await $`mkdir -p ${dir}`
await $`gh run download ${Bun.env.GITHUB_RUN_ID} -n opencode-cli`
await $`gh release download v${Script.version} --pattern ${sidecarConfig.ocBinary}.${sidecarConfig.assetExt} --repo sst/opencode --skip-existing --dir ${dir}`
if (sidecarConfig.assetExt === "tar.gz") {