Add Open VSX Registry publishing workflow#163
Open
rbinksy wants to merge 1 commit intomjbvz:masterfrom
Open
Conversation
Adds a workflow that publishes the extension to the Open VSX Registry when a version tag is pushed. This keeps the Open VSX version in sync with the VS Code Marketplace, fixing the outdated version issue reported in mjbvz#154. The workflow uses HaaLeo/publish-vscode-extension@v2 and requires an OPEN_VSX_TOKEN secret to be configured in the repository settings.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a GitHub Actions workflow to publish the extension to the Open VSX Registry when a version tag is pushed.
This addresses #154 - the extension is currently outdated on Open VSX (v0.1.6) while the VS Code Marketplace has v2.2.0+. Editors that use Open VSX as their extension registry (such as Cursor, VSCodium, and Gitpod) are stuck on the old version, which is missing theme configuration settings like
colorTheme,lightTheme, anddarkTheme.What this adds
.github/workflows/publish-open-vsx.yml- triggered on version tags (v*) and manual dispatchHaaLeo/publish-vscode-extension@v2which handles packaging and publishing via theovsxCLIskipDuplicate: trueto safely handle re-runsSetup required
To enable the workflow, an
OPEN_VSX_TOKENsecret needs to be added to the repository settings:OPEN_VSX_TOKENbiernernamespace is claimed on Open VSX (runnpx ovsx create-namespace bierner -p <token>if needed)Closes #154