publish-vscode.yml 584 B

1234567891011121314151617181920212223242526272829303132
  1. name: publish-vscode
  2. on:
  3. workflow_dispatch:
  4. push:
  5. tags:
  6. - "vscode-v*.*.*"
  7. concurrency: ${{ github.workflow }}-${{ github.ref }}
  8. permissions:
  9. contents: write
  10. jobs:
  11. publish:
  12. runs-on: ubuntu-latest
  13. steps:
  14. - uses: actions/checkout@v3
  15. with:
  16. fetch-depth: 0
  17. - uses: oven-sh/setup-bun@v2
  18. with:
  19. bun-version: 1.2.17
  20. - run: git fetch --force --tags
  21. - run: bun install
  22. - run: bun install -g @vscode/vsce
  23. - name: Publish
  24. run: ./script/publish
  25. working-directory: ./sdks/vscode