mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-24 19:24:22 +01:00
34 lines
645 B
YAML
34 lines
645 B
YAML
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: ./.github/actions/setup-bun
|
|
|
|
- run: git fetch --force --tags
|
|
- run: bun install -g @vscode/vsce
|
|
|
|
- name: Publish
|
|
run: |
|
|
./script/publish
|
|
working-directory: ./sdks/vscode
|
|
env:
|
|
VSCE_PAT: ${{ secrets.VSCE_PAT }}
|
|
OPENVSX_TOKEN: ${{ secrets.OPENVSX_TOKEN }}
|