30 lines
803 B
YAML
30 lines
803 B
YAML
on:
|
|
release:
|
|
push:
|
|
name: Deploy Extension
|
|
jobs:
|
|
deploy-vsx:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 14
|
|
- run: npm install
|
|
- name: Publish to Open VSX Registry
|
|
uses: HaaLeo/publish-vscode-extension@v0
|
|
with:
|
|
pat: ${{ secrets.OPEN_VSX_TOKEN }}
|
|
deploy-ms:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 14
|
|
- run: npm install
|
|
- name: Publish to Visual Studio Marketplace
|
|
uses: HaaLeo/publish-vscode-extension@v0
|
|
with:
|
|
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
|
|
registryUrl: https://marketplace.visualstudio.com
|