From 0e1565449e4d89c0d7780436b2dd1d777e8447ba Mon Sep 17 00:00:00 2001 From: Frank Date: Sun, 20 Jul 2025 11:33:41 -0400 Subject: wip: vscode extension --- .github/workflows/publish-vscode.yml | 32 ++++++++++++++++++++++++++++++++ .github/workflows/publish.yml | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/publish-vscode.yml (limited to '.github/workflows') 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 }} -- cgit v1.2.3