diff options
| author | Frank <[email protected]> | 2025-07-20 11:33:41 -0400 |
|---|---|---|
| committer | Frank <[email protected]> | 2025-07-20 11:33:44 -0400 |
| commit | 0e1565449e4d89c0d7780436b2dd1d777e8447ba (patch) | |
| tree | bf6b54652ac8c3eb74b601bfb484343837221b4a /.github/workflows | |
| parent | f9a47fe5a387bc36f74a3af30638deda3a591259 (diff) | |
| download | opencode-0e1565449e4d89c0d7780436b2dd1d777e8447ba.tar.gz opencode-0e1565449e4d89c0d7780436b2dd1d777e8447ba.zip | |
wip: vscode extension
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/publish-vscode.yml | 32 | ||||
| -rw-r--r-- | .github/workflows/publish.yml | 2 |
2 files changed, 33 insertions, 1 deletions
diff --git a/.github/workflows/publish-vscode.yml b/.github/workflows/publish-vscode.yml new file mode 100644 index 000000000..4870a29f1 --- /dev/null +++ b/.github/workflows/publish-vscode.yml @@ -0,0 +1,32 @@ +name: publish-vscode + +on: + workflow_dispatch: + push: + tags: + - "vscode-v*.*.*" + +concurrency: ${{ github.workflow }}-${{ github.ref }} + +permissions: + contents: write + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - uses: oven-sh/setup-bun@v2 + with: + bun-version: 1.2.17 + + - run: git fetch --force --tags + - run: bun install + - run: bun install -g @vscode/vsce + + - name: Publish + run: ./script/publish + working-directory: ./packages/opencode diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7a15729d8..1537bc4cc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,7 +6,7 @@ on: branches: - dev tags: - - "*" + - "v*.*.*" concurrency: ${{ github.workflow }}-${{ github.ref }} |
