Skip to content

Commit 9832f41

Browse files
committed
Add open-vsx deployment
1 parent a55e525 commit 9832f41

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/Publish-VSCode-Extension.yaml

+9-8
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
on:
44
push:
55
tags:
6-
- "v[0-9]*"
6+
- 'v[0-9]*'
77

88
name: Deploy Extension
99
jobs:
@@ -13,13 +13,14 @@ jobs:
1313
- uses: actions/checkout@v2
1414
- uses: ./.github/internals/setup-js
1515
- run: yarn build
16-
# - name: Publish to Open VSX Registry
17-
# uses: HaaLeo/publish-vscode-extension@v1
18-
# with:
19-
# packagePath: ./inst/vscode-extension/
20-
# yarn: true
21-
# pat: ${{ secrets.OPEN_VSX_TOKEN }}
22-
# dryRun: ${{ github.ref_name == 'main' }}
16+
- name: Publish to Open VSX Registry
17+
uses: HaaLeo/publish-vscode-extension@v1
18+
with:
19+
packagePath: ./inst/vscode-extension/
20+
yarn: true
21+
pat: ${{ secrets.VSX_TOKEN }}
22+
skipDuplicate: true
23+
dryRun: ${{ github.ref_name == 'main' }}
2324
- name: Publish to Visual Studio Marketplace
2425
uses: HaaLeo/publish-vscode-extension@v1
2526
with:

0 commit comments

Comments
 (0)