Publish extension to marketplace #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
workflow_dispatch: | |
inputs: | |
kind: | |
description: 'Update kind (major, minor, patch)' | |
default: 'patch' | |
name: Publish extension to marketplace | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: npm ci | |
- run: npm install -g @vscode/vsce | |
- run: git config --global user.email "anolte5"[email protected] | |
- run: git config --global user.name "Andrew Nolte" | |
- name: Publish to Visual Studio Marketplace | |
run: vsce publish ${{ github.event.inputs.kind }} --pat ${{ secrets.VS_MARKETPLACE_TOKEN }} | |
# - run: npm install -g ovsx | |
# - name: Publish to Open Vsix | |
# run: npx ovsx publish -p ${{ secrets.OPEN_VSX_TOKEN }} |