summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-12-05 20:01:55 -0500
committerDax Raad <[email protected]>2025-12-05 20:01:55 -0500
commit4ef239a086c91e209dd8287eb926afc8656e19a3 (patch)
tree2171cb930484f8fc738b9a90b03c0a4ad7f607e7 /.github
parent9362368fd3735b06a032f933acaf3c804faaa6a9 (diff)
downloadopencode-4ef239a086c91e209dd8287eb926afc8656e19a3.tar.gz
opencode-4ef239a086c91e209dd8287eb926afc8656e19a3.zip
openapi generate
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/sdk.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/sdk.yml b/.github/workflows/sdk.yml
index 1eb22584f..6ae737950 100644
--- a/.github/workflows/sdk.yml
+++ b/.github/workflows/sdk.yml
@@ -25,10 +25,12 @@ jobs:
- name: run
run: |
bun ./packages/sdk/js/script/build.ts
+ (cd packages/opencode && bun dev generate > ../sdk/openapi.json)
if [ -z "$(git status --porcelain)" ]; then
echo "No changes to commit"
exit 0
fi
+ bun ./packages/opencode/src/index.ts
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add -A