actions-marketplace-validations/Publish VS Code Extension
Publish your VSCode extension to the VS Marketplace (using vsce) or the Open VSX Registry (using ovsx) with ease.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| pat | Personal access token. | yes | — |
| extensionFile | Path to the vsix file to be published. Cannot be used together with packagePath. | no | — |
| registryUrl | Use the registry API at this base URL. | no | https://open-vsx.org |
| packagePath | Path to the extension to be packaged and published. Cannot be used together with extensionFile. | no | ./ |
| baseContentUrl | Prepend all relative links in README.md with this URL. | no | — |
| baseImagesUrl | Prepend all relative image links in README.md with this URL. | no | — |
| yarn | Use yarn instead of npm while packing extension files. | no | false |
| dryRun | Set this option to "true" to package your extension but do not publish it. | no | false |
| noVerify | Allow publishing extensions to the visual studio marketplace which use a proposed API (enableProposedApi: true). | no | false |
| preRelease | Publish a version marked as a Pre-Release. | no | false |
| dependencies | Check that dependencies defined in package.json exist in node_modules. Set to false if using pnpm or yarn v2+ with pnp. | no | true |
| skipDuplicate | Fail silently if version already exists on the marketplace. | no | false |
| target | Target architecture(s) the extension should run on. | no | "" |
Outputs
| name | description |
|---|---|
| vsixPath | The path to the packaged and published VSIX file. |