Skip to content

v1.0.20

v1.0.20 #41

Workflow file for this run

name: Publish
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- name: Publish release
if: github.event.release.prerelease == false
run: npx vsce publish --pat "${{ secrets.VSC_MARKETPLACE_PAT }}"
- name: Publish pre-release
if: github.event.release.prerelease == true
run: npx vsce publish --pre-release --pat "${{ secrets.VSC_MARKETPLACE_PAT }}"