Skip to content

publish extension to marketplace #57

publish extension to marketplace

publish extension to marketplace #57

Workflow file for this run

name: publish extension to marketplace
on:
workflow_dispatch:
workflow_run:
workflows: ["update project templates"]
types:
- completed
jobs:
publish:
name: Publish
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Publish
if: success()
run: |
git config user.email "[email protected]"
git config user.name "Github actions"
git submodule update --init --recursive
cd Extension
npm install
npm run publish -- 0.1.${{github.run_number}}
env:
VSCE_PAT: ${{ secrets.VSCETOKEN }}