Skip to content

Publish the Extension to OpenVSX #23

Publish the Extension to OpenVSX

Publish the Extension to OpenVSX #23

Workflow file for this run

on:
release:
types:
- released
name: Publish the Extension to OpenVSX
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '15.x'
- run: npm ci
- run: npm install -g gulp ovsx
- run: gulp 'vsix:release:package:platform-specific'
- name: Get package version
run: node -e "console.log('VERSION=' + require('./package.json').version)" >> $GITHUB_ENV
- run: ovsx publish --packagePath $(find . -iname *.vsix) -p ${{ secrets.OPEN_VSX_TOKEN }}