Skip to content

Commit 58e5ee9

Browse files
Enable auto-publishing to open-vsx.org
1 parent 1e9d3ce commit 58e5ee9

File tree

3 files changed

+3266
-518
lines changed

3 files changed

+3266
-518
lines changed

.github/workflows/publish-extension.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,15 @@ jobs:
4747
- name: Build VSIX package
4848
run: npm run package -- -o vscode-string-manipulation.v${{ steps.calculateVersion.outputs.AppVersion }}.vsix
4949

50-
- name: Publish extension package
50+
- name: Publish extension package to Marketplace
5151
env:
5252
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
53-
run: npm run vsce -- publish -p $VSCE_TOKEN
53+
run: npm run ovsx -- publish -p $VSCE_TOKEN
54+
55+
- name: Publish extension package to Open VSX Registry
56+
env:
57+
OVSX_PAT: ${{ secrets.OVSX_PAT }}
58+
run: npm run ovsx -- publish -p $OVSX_PAT
5459

5560
- uses: actions/upload-artifact@v4
5661
name: Upload artifact

0 commit comments

Comments
 (0)