publish-vscode.yml 704 B

123456789101112131415161718192021222324252627282930313233343536
  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.21
  20. - run: git fetch --force --tags
  21. - run: bun install -g @vscode/vsce
  22. - name: Publish
  23. run: |
  24. bun install
  25. ./script/publish
  26. working-directory: ./sdks/vscode
  27. env:
  28. VSCE_PAT: ${{ secrets.VSCE_PAT }}
  29. OPENVSX_TOKEN: ${{ secrets.OPENVSX_TOKEN }}