Skip to content

Commit af5ebab

Browse files
committed
remove actions artifact uploading
1 parent fe2626a commit af5ebab

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

packages/opencode/script/publish.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,6 @@ await Bun.file(`./dist/${pkg.name}/package.json`).write(
3939

4040
const tags = [Script.channel]
4141

42-
if (Bun.env.ACTIONS_RUNTIME_TOKEN) {
43-
const { DefaultArtifactClient } = await import("@actions/artifact")
44-
45-
const artifactClient = new DefaultArtifactClient()
46-
47-
for await (const folder of $`ls ./dist`.lines()) {
48-
if (!folder.startsWith("opencode-")) continue
49-
50-
const files = await Array.fromAsync(glob(`./dist/${folder}/bin/*`))
51-
await artifactClient.uploadArtifact(folder, files, process.cwd())
52-
}
53-
}
54-
5542
const tasks = Object.entries(binaries).map(async ([name]) => {
5643
if (process.platform !== "win32") {
5744
await $`chmod -R 755 .`.cwd(`./dist/${name}`)

0 commit comments

Comments
 (0)