ci: try downloading artifact in desktop prepare

thinking-toggle-wip
Brendan Allan 2025-12-22 17:45:30 +08:00 committed by Aiden Cline
parent 5a84872777
commit 18ff962f6e
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") {