vscode-db2i 1.6.1 #38
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
name: Build and publish a release | |
on: | |
release: | |
types: [created] | |
jobs: | |
release: | |
name: Release and publish | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '20' | |
- uses: actions/checkout@v2 | |
- run: npm install | |
- run: npm install -g vsce ovsx | |
- name: Publish to Marketplace | |
run: vsce publish -p $PUBLISHER_TOKEN | |
env: | |
PUBLISHER_TOKEN: ${{ secrets.PUBLISHER_TOKEN }} | |
- name: Publish to Open VSX | |
run: npx ovsx publish -p ${{ secrets.OPENVSX_TOKEN }} |