Skip to content

Commit 4fd99ea

Browse files
authoredDec 9, 2024
tools: Add publishing to Open VSX (#1904)
1 parent 1061d15 commit 4fd99ea

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed
 

‎.github/workflows/manual-vscode-boxel-tools.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
- name: Package
9595
run: pnpm vscode:package
9696
working-directory: packages/vscode-boxel-tools
97-
- name: Publish
97+
- name: Publish to Visual Studio Marketplace
9898
run: |
9999
if [ "${{ inputs.environment }}" = "production" ]; then
100100
pnpm vscode:publish
@@ -104,3 +104,13 @@ jobs:
104104
working-directory: packages/vscode-boxel-tools
105105
env:
106106
VSCE_PAT: ${{ secrets.VSCE_PAT }}
107+
- name: Publish to Open VSX
108+
run: |
109+
if [ "${{ inputs.environment }}" = "production" ]; then
110+
npx ovsx publish --no-dependencies --pat $OVSX_TOKEN
111+
else
112+
npx ovsx publish --no-dependencies --pre-release --pat $OVSX_TOKEN
113+
fi
114+
working-directory: packages/vscode-boxel-tools
115+
env:
116+
OVSX_TOKEN: ${{ secrets.OVSX_TOKEN }}

0 commit comments

Comments
 (0)