Skip to content

Commit 4699aef

Browse files
author
Calvin A. Allen
committed
Marketplace publishing action for JB
1 parent efa6f20 commit 4699aef

File tree

5 files changed

+36
-5
lines changed

5 files changed

+36
-5
lines changed

_data/opensource.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ details:
6767
cover_image: "GHA-VSVsixVersioner.png"
6868
categories: ["github action"]
6969
opened_date: "2023-04-01"
70-
- name: "Visual Studio VSIX Signer"
71-
url: "https://github.com/CodingWithCalvin/GHA-VSVsixSigner"
72-
description: "Github Action to sign your Visual Studio extensions before you publish to the marketplace!"
73-
cover_image: "VSVSIXSigner.png"
70+
- name: "JetBrains Marketplace Publisher"
71+
url: "https://github.com/CodingWithCalvin/GHA-JBMarketplacePublisher"
72+
description: "Github Action to publish your JetBrains extension/plugin to the marketplace!"
73+
cover_image: "GHA-JBMarketplacePublisher.png"
7474
categories: ["github action"]
75-
opened_date: "2023-04-02"
75+
opened_date: "2024-09-24"
7676
- name: "Super Clean"
7777
url: "https://github.com/CodingWithCalvin/vs4mac-SuperClean"
7878
description: "A Visual Studio for Mac extension that adds a new open, 'Super Clean Solution', to the Build menu to the Solution node, that allows you to recursively delete (i.e., clean, but super) all of projects in the solution."
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: 'Introducing the "JetBrains Marketplace Publisher" GitHub Action'
3+
date: "2024-09-24T12:00:00-04:00"
4+
categories: [jetbrains, extensibility, devops]
5+
description: "You've got your own JetBrains extension, open source on GitHub, but you need to figure out HOW to publish it to the JetBrains marketplace - this new GitHub Action can help!"
6+
---
7+
8+
Introducing "[JetBrains Marketplace Publisher](https://github.com/marketplace/actions/visual-studio-marketplace-publisher)", a GitHub Action that assists you in publishing your Visual Studio extensions to the marketplace through a workflow on GitHub!
9+
10+
Imagine you have a workflow in GitHub that builds your extension and posts the resulting ZIP file as an artifact to the run and then you have to download that artifact and 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 -
11+
12+
```yaml
13+
- name: JetBrains Marketplace Publisher
14+
uses: CodingWithCalvin/GHA-JBMarketplacePublisher@v1
15+
with:
16+
# REQUIRED
17+
marketplace-pat: ${{ secrets.marketplace_pat }}
18+
archive-path: ./src/outputFolder/extension.zip
19+
20+
# ONE OF THE FOLLOWING IS REQUIRED, BUT NOT BOTH
21+
plugin-id: 1000
22+
plugin-xml-id: "1001"
23+
24+
# OPTIONAL
25+
channel: stable
26+
is-hidden: false
27+
```
28+
29+
Provide your secret PAT, your archive, and one of plugin-id or plugin-xml-id - then sit back and relax while all the magic happens for you. Note there are a couple other optional parameters to control which channel your plugin is released to and whether to keep it hidden after approval.
30+
31+
Of course, [its open source](https://github.com/CodingWithCalvin/GHA-JBMarketplacePublisher), so feel free to peruse the source code, create issues, and have discussions on ways we can make this tool even better!
298 KB
Loading
279 KB
Loading

assets/images/oss/VSVSIXSigner.png

-250 KB
Binary file not shown.

0 commit comments

Comments
 (0)