mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
ci: try downloading artifact in desktop prepare
This commit is contained in:
parent
6339f39871
commit
f9c10c62d8
1 changed files with 1 additions and 0 deletions
|
|
@ -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") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue