📦 Publish your Visual Studio extensions to the marketplace with ease!
This GitHub Action publishes your Visual Studio extension (.vsix) to the Visual Studio Marketplace.
You can use the Visual Studio Marketplace Publisher GitHub Action by configuring
a YAML-based workflow file, e.g. .github/workflows/deploy.yml.
⚠️ Note: This action only works on a Windows-based runner.
| Input | Required | Description |
|---|---|---|
marketplace-pat |
Yes | Your Personal Access Token for the Visual Studio Marketplace |
publish-manifest-path |
Yes | Path to your publish manifest (JSON file) |
vsix-path |
Yes | Path to the local VSIX package to publish |
vs-version |
No | Version of Visual Studio tooling to use (default: latest) |
vs-prerelease |
No | Allow pre-release Visual Studio tooling (default: false) |
Publish a local VSIX file:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Visual Studio Marketplace Publisher
uses: CodingWithCalvin/GHA-VSMarketplacePublisher@v2
with:
# REQUIRED
marketplace-pat: ${{ secrets.VS_MARKETPLACE_PAT }}
publish-manifest-path: './src/vsixManifest.json'
vsix-path: './src/outputFolder/Extension.vsix'
# OPTIONAL
vs-version: latest
vs-prerelease: falseMIT License - see LICENSE for details.
Made with ❤️ by Coding With Calvin