Skip to content

Commit 8751ea2

Browse files
authored
merge publishing (#426)
1 parent 4cd3d18 commit 8751ea2

File tree

3 files changed

+26
-54
lines changed

3 files changed

+26
-54
lines changed

.github/workflows/publish-open-vsx.yaml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/publish-vscode.yaml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/publish.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Upload package to VSCode Marketplace
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
13+
with:
14+
node-version: 20
15+
- run: npm ci
16+
- name: Publish to Open VSX Registry
17+
uses: HaaLeo/publish-vscode-extension@v1
18+
id: publishToOpenVSX
19+
with:
20+
pat: ${{ secrets.OVSX_PAT }}
21+
- name: Publish to Visual Studio Marketplace
22+
uses: HaaLeo/publish-vscode-extension@v1
23+
with:
24+
pat: ${{ secrets.VSCE_PAT }}
25+
registryUrl: https://marketplace.visualstudio.com
26+
extensionFile: ${{ steps.publishToOpenVSX.outputs.vsixPath }}

0 commit comments

Comments
 (0)