Skip to content

Commit ed68a5b

Browse files
committed
Fix publishing to Open VSX
1 parent fb1f976 commit ed68a5b

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/build.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,15 @@ jobs:
2929
fi
3030
- run: npm install
3131

32-
- uses: lannonbr/[email protected]
33-
with:
34-
args: "publish -p $VSCE_TOKEN"
35-
env:
36-
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
37-
3832
- name: Publish to Open VSX Registry
3933
uses: HaaLeo/publish-vscode-extension@v1
34+
id: publishToOpenVSX
4035
with:
4136
pat: ${{ secrets.OPEN_VSX_TOKEN }}
37+
38+
- name: Publish to Visual Studio Marketplace
39+
uses: HaaLeo/publish-vscode-extension@v1
40+
with:
41+
pat: ${{ secrets.VSCE_TOKEN }}
42+
registryUrl: https://marketplace.visualstudio.com
43+
extensionFile: ${{ steps.publishToOpenVSX.outputs.vsixPath }}

0 commit comments

Comments
 (0)