Skip to content

CodingWithCalvin/GHA-VSMarketplacePublisher

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Visual Studio Marketplace Publisher

Build GitHub release License: MIT

📦 Publish your Visual Studio extensions to the marketplace with ease!

This GitHub Action publishes your Visual Studio extension (.vsix) to the Visual Studio Marketplace.

🚀 Usage

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.

📥 Inputs

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)

📋 Example

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: false

👥 Contributors

CalvinAllen

📄 License

MIT License - see LICENSE for details.


Made with ❤️ by Coding With Calvin

About

GitHub Action to publish extensions to the Visual Studio Marketplace

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 3

  •  
  •  
  •