From 143923bce29fa93ff18e259ad4f10885285e4c04 Mon Sep 17 00:00:00 2001 From: Josh Mu Date: Sat, 21 Dec 2024 20:47:06 +1000 Subject: [PATCH] feat: support for platform specific extension on open-vsx.org --- .github/workflows/publish-vscode-extension.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish-vscode-extension.yml b/.github/workflows/publish-vscode-extension.yml index 4dbc684..131ee14 100644 --- a/.github/workflows/publish-vscode-extension.yml +++ b/.github/workflows/publish-vscode-extension.yml @@ -100,9 +100,6 @@ jobs: - run: npx @vscode/vsce publish --packagePath $(find . -iname *.vsix) env: VSCE_PAT: ${{ secrets.VS_MARKETPLACE_TOKEN }} - - # The Open VSX publishing steps remain commented out as platform-specific packages are not supported. - # - name: Install Open VSX CLI - # run: npm install -g ovsx - # - name: Publish Extension to Open VSX Registry - # run: ovsx publish -p ${{ secrets.OPEN_VSX_TOKEN }} + - run: npx ovsx publish --packagePath $(find . -iname *.vsix) + env: + OVSX_PAT: ${{ secrets.OPEN_VSX_TOKEN }}