Introducing the "Visual Studio Marketplace Publisher" GitHub Action

Introducing the

Introducing “Visual Studio Marketplace Publisher”, a GitHub Action that assists you in publishing your Visual Studio extensions to the marketplace through a workflow on GitHub!

Imagine you have a workflow in GitHub that builds your extension and posts the resulting VSIX file as an artifact to the run that you then upload to the marketplace MANUALLY. Swap out the artifact upload with this new extension, and automate the whole thing. Its as easy as referencing the new Action in your workflow -

- name: Visual Studio Marketplace Publisher
    uses: CalvinAllen/action-vs-marketplace-publish@v1
    marketplace-pat: $
    publish-manifest-path: ./src/vsixManifest.json
    vsix-path: ./src/outputFolder/Extension.vsix

Provide your secret PAT, your deployment manifest, and where the extension output file is - then sit back and relax while all the magic happens for you. Note there are a couple other optional parameters to control which version of the Visual Studio SDK tooling gets used under the hood, but by default, you’ll utilize the latest version available on the images. For real world examples of its usage, I utilize it in 4 separate Visual Studio extension workflows on GitHub, so check out my repos there for more help!

Of course, its open source, so feel free to peruse the source code, create issues, and have discussions on ways we can make this tool even better!

This post, "Introducing the "Visual Studio Marketplace Publisher" GitHub Action", first appeared on