diff options
| author | Brendan Allan <[email protected]> | 2025-12-22 17:01:52 +0800 |
|---|---|---|
| committer | Brendan Allan <[email protected]> | 2025-12-22 17:01:52 +0800 |
| commit | af5ebabd0386da8734ee25462a5157a25341e95c (patch) | |
| tree | 27e807f096b6d6a48d5f86786ca931fccd498d84 /packages | |
| parent | fe2626a4ea7504e1726d7e32a144c46b0f3f4218 (diff) | |
| download | opencode-af5ebabd0386da8734ee25462a5157a25341e95c.tar.gz opencode-af5ebabd0386da8734ee25462a5157a25341e95c.zip | |
remove actions artifact uploading
Diffstat (limited to 'packages')
| -rwxr-xr-x | packages/opencode/script/publish.ts | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/packages/opencode/script/publish.ts b/packages/opencode/script/publish.ts index c847b2827..821497b22 100755 --- a/packages/opencode/script/publish.ts +++ b/packages/opencode/script/publish.ts @@ -39,19 +39,6 @@ await Bun.file(`./dist/${pkg.name}/package.json`).write( const tags = [Script.channel] -if (Bun.env.ACTIONS_RUNTIME_TOKEN) { - const { DefaultArtifactClient } = await import("@actions/artifact") - - const artifactClient = new DefaultArtifactClient() - - for await (const folder of $`ls ./dist`.lines()) { - if (!folder.startsWith("opencode-")) continue - - const files = await Array.fromAsync(glob(`./dist/${folder}/bin/*`)) - await artifactClient.uploadArtifact(folder, files, process.cwd()) - } -} - const tasks = Object.entries(binaries).map(async ([name]) => { if (process.platform !== "win32") { await $`chmod -R 755 .`.cwd(`./dist/${name}`) |
