Publish to VSCode Marketplace (Manual) #4
Workflow file for this run
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
# Publish this VSCode Extension to the VSCode Marketplace and OpenVSIX Marketplace | |
name: Publish to VSCode Marketplace (Manual) | |
on: | |
workflow_dispatch: | |
jobs: | |
vscemp: | |
name: VScode Marketplace | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '${{ vars.NODE_VERSION }}' | |
registry-url: 'https://registry.npmjs.org' | |
- name: Install Dependencies | |
run: yarn | |
- name: Install Vsce | |
run: npm i -g vsce | |
- name: Login publisher to VSCE | |
run: vsce login ${{ vars.VSCODE_MP_USER }} -p ${{ secrets.VSCE_TOKEN }} | |
# - name: Publish to VScode Marketplace | |
# if: github.event_name == 'workflow_dispatch' | |
# run: vsce publish -p ${{ secrets.VSCE_TOKEN_OLD }} |