publish-vscode.yml 772 B

12345678910111213141516171819202122232425262728293031323334353637
  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: blacksmith-4vcpu-ubuntu-2404
  13. steps:
  14. - uses: actions/checkout@v3
  15. with:
  16. fetch-depth: 0
  17. - uses: ./.github/actions/setup-bun
  18. - run: git fetch --force --tags
  19. - run: bun install -g @vscode/vsce
  20. - name: Install extension dependencies
  21. run: bun install
  22. working-directory: ./sdks/vscode
  23. - name: Publish
  24. run: |
  25. ./script/publish
  26. working-directory: ./sdks/vscode
  27. env:
  28. VSCE_PAT: ${{ secrets.VSCE_PAT }}
  29. OPENVSX_TOKEN: ${{ secrets.OPENVSX_TOKEN }}