Skip to content

Update pre-release.yml #2

Update pre-release.yml

Update pre-release.yml #2

Workflow file for this run

name: release
on:
push:
branches:
- master
release:
types:
- created
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Publish to vs marketplace
if: success() && startsWith(github.ref, 'refs/tags/')
run: npm run release
env:
VSCE_PAT: ${{ secrets.VS_MARKETPLACE_TOKEN }}