gotools/.github/workflows/publish.yml

31 lines
803 B
YAML
Raw Permalink Normal View History

2021-03-28 03:20:22 +03:00
on:
2021-03-28 04:02:06 +03:00
release:
push:
2021-03-28 03:20:22 +03:00
name: Deploy Extension
jobs:
2023-08-06 01:42:04 +03:00
deploy-vsx:
2021-03-28 03:20:22 +03:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
2023-08-07 21:08:48 +03:00
node-version: 14
- run: npm install
2021-03-28 03:20:22 +03:00
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v0
with:
pat: ${{ secrets.OPEN_VSX_TOKEN }}
2023-08-06 01:42:04 +03:00
deploy-ms:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
2023-08-07 21:08:48 +03:00
node-version: 14
- run: npm install
2021-03-28 03:20:22 +03:00
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v0
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com