Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: Add publishing to Open VSX #1904

Merged
merged 11 commits into from
Dec 9, 2024
12 changes: 11 additions & 1 deletion .github/workflows/manual-vscode-boxel-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
- name: Package
run: pnpm vscode:package
working-directory: packages/vscode-boxel-tools
- name: Publish
- name: Publish to Visual Studio Marketplace
run: |
if [ "${{ inputs.environment }}" = "production" ]; then
pnpm vscode:publish
Expand All @@ -104,3 +104,13 @@ jobs:
working-directory: packages/vscode-boxel-tools
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
- name: Publish to Open VSX
run: |
if [ "${{ inputs.environment }}" = "production" ]; then
npx ovsx publish --no-dependencies --pat $OVSX_TOKEN
else
npx ovsx publish --no-dependencies --pre-release --pat $OVSX_TOKEN
fi
working-directory: packages/vscode-boxel-tools
env:
OVSX_TOKEN: ${{ secrets.OVSX_TOKEN }}
Loading