diff options
Diffstat (limited to '.github')
| -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 }} |
