Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/publish-open-vsx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# This workflow publishes the extension to Open VSX Registry (used by Cursor and other editors)
# For more information see: https://open-vsx.org/

name: publish-open-vsx

on:
workflow_call:

jobs:
publish-open-vsx:
name: publish-open-vsx
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive' # If you have submodules, set this to true
- name: Install Nodejs
uses: actions/setup-node@v4
with:
node-version: 22.x
- name: Download artifact
id: download-artifact
uses: dawidd6/action-download-artifact@v7
with:
workflow: build_workflow.yml
name: package
path: ./editor/dist

- name: Publish Extension (Open VSX Registry, release)
working-directory: editor
run: |
npm i
npm install --global @vscode/vsce
npm install --global ovsx
# Publish to Open VSX Registry
ovsx publish ./dist/*.vsix --pat ${{ secrets.OPEN_VSX_TOKEN }}
4 changes: 4 additions & 0 deletions .github/workflows/publish_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ jobs:
call-publish:
needs: call-build
uses: ./.github/workflows/publish.yml
secrets: inherit
call-publish-open-vsx:
needs: call-build
uses: ./.github/workflows/publish-open-vsx.yml
secrets: inherit