mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 13:54:01 +00:00
chore: generate
This commit is contained in:
parent
7a3e82ec5d
commit
45447e3336
@ -39,13 +39,13 @@ await Bun.file(`./dist/${pkg.name}/package.json`).write(
|
||||
|
||||
const tags = [Script.channel]
|
||||
|
||||
if(Bun.env.ACTIONS_RUNTIME_TOKEN) {
|
||||
if (Bun.env.ACTIONS_RUNTIME_TOKEN) {
|
||||
const { DefaultArtifactClient } = await import("@actions/artifact")
|
||||
|
||||
const artifactClient = new DefaultArtifactClient();
|
||||
const artifactClient = new DefaultArtifactClient()
|
||||
|
||||
for await (const folder of $`ls ./dist`.lines()) {
|
||||
if (!folder.startsWith("opencode-")) continue;
|
||||
if (!folder.startsWith("opencode-")) continue
|
||||
|
||||
const files = await Array.fromAsync(glob(`./dist/${folder}/bin/*`))
|
||||
await artifactClient.uploadArtifact(folder, files, process.cwd())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user