Skip to content

Commit bf18a1b

Browse files
committed
add open-vsx pre-release publishing
1 parent 9a6cf8f commit bf18a1b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/publish-vscode-extension-pre-release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,12 @@ jobs:
3939
run: |
4040
npm install --global @vscode/vsce
4141
vsix_file=`ls ./vsix | head -n 1`
42-
echo "VSIX pre-release file to publish ${vsix_file}"
42+
echo "VSCode VSIX pre-release file to publish ${vsix_file}"
4343
vsce publish --pre-release -p ${{ secrets.VSCE_PUBLISH_TOKEN }} --packagePath ./vsix/$vsix_file
44+
- name: Publish to Eclipse Open VSX
45+
id: publish-pre-release-ovsx
46+
run: |
47+
npm install --global ovsx
48+
vsix_file=`ls ./vsix | head -n 1`
49+
echo "Open-VSX VSIX pre-release file to publish ${vsix_file}"
50+
ovsx publish --pre-release -p ${{ secrets.OVSX_PUBLISH_TOKEN }} --packagePath ./vsix/$vsix_file

0 commit comments

Comments
 (0)