Publish the Extension to OpenVSX #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |