Skip to content

Publish

Publish #39

Workflow file for this run

name: Publish
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- name: npm install
run: |
npm install
- name: publish vsce
id: publisher
uses: sigma/vsce-publish-action@v0.0.2
with:
vsce_token: ${{ secrets.VSCE_TOKEN }}
- name: publish ovsx
run: npx ovsx publish ${{ steps.publisher.ouputs.vsix_path }} -p ${{ secrets.OVSX_TOKEN }}