File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : publish-github-action
2+
3+ on :
4+ workflow_dispatch :
5+
6+ concurrency : ${{ github.workflow }}-${{ github.ref }}
7+
8+ jobs :
9+ publish :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v3
13+ with :
14+ fetch-depth : 0
15+
16+ - run : git fetch --force --tags
17+
18+ - uses : oven-sh/setup-bun@v2
19+ with :
20+ bun-version : 1.2.17
21+
22+ - name : Publish
23+ run : ./script/publish-github-action.ts
24+ working-directory : ./packages/opencode
Original file line number Diff line number Diff line change 22
33import { $ } from "bun"
44
5- await $ `git tag -d v1`
6- await $ `git push origin :refs/tags/v1`
7- await $ `git tag -a v1 -m "Update v1 to latest"`
8- await $ `git push origin v1`
5+ await $ `git tag -d github- v1`
6+ await $ `git push origin :refs/tags/github- v1`
7+ await $ `git tag -a github- v1 -m "Update github- v1 to latest"`
8+ await $ `git push origin github- v1`
Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ jobs:
231231 fetch-depth: 1
232232
233233 - name: Run opencode
234- uses: sst/opencode/sdks/github@dev ${ envStr }
234+ uses: sst/opencode/sdks/github@github-v1 ${ envStr }
235235 with:
236236 model: ${ provider } /${ model }
237237` . trim ( ) ,
You can’t perform that action at this time.
0 commit comments