mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
openapi generate
This commit is contained in:
parent
9362368fd3
commit
4ef239a086
3 changed files with 8795 additions and 1 deletions
2
.github/workflows/sdk.yml
vendored
2
.github/workflows/sdk.yml
vendored
|
|
@ -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 "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git add -A
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue