We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a3e82e commit 45447e3Copy full SHA for 45447e3
packages/opencode/script/publish.ts
@@ -39,13 +39,13 @@ await Bun.file(`./dist/${pkg.name}/package.json`).write(
39
40
const tags = [Script.channel]
41
42
-if(Bun.env.ACTIONS_RUNTIME_TOKEN) {
+if (Bun.env.ACTIONS_RUNTIME_TOKEN) {
43
const { DefaultArtifactClient } = await import("@actions/artifact")
44
45
- const artifactClient = new DefaultArtifactClient();
+ const artifactClient = new DefaultArtifactClient()
46
47
for await (const folder of $`ls ./dist`.lines()) {
48
- if (!folder.startsWith("opencode-")) continue;
+ if (!folder.startsWith("opencode-")) continue
49
50
const files = await Array.fromAsync(glob(`./dist/${folder}/bin/*`))
51
await artifactClient.uploadArtifact(folder, files, process.cwd())
0 commit comments