-
-
Notifications
You must be signed in to change notification settings - Fork 3
36 lines (29 loc) · 873 Bytes
/
release-vscode.yml
File metadata and controls
36 lines (29 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Release VSCode Extension
on:
release:
types: [published]
workflow_dispatch:
jobs:
release:
name: Release to Multiple Marketplaces
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- name: Install dependencies
uses: ./.github/actions/setup
- name: Install publishing tools
run: |
npm install -g @vscode/vsce ovsx
- name: Build extension
run: pnpm build
- name: Package extension
run: vsce package --no-dependencies
- name: Publish to VSCode Marketplace
run: vsce publish --packagePath *.vsix
env:
VSCE_PAT: ${{ secrets.AZURE_TOKEN }}
- name: Publish to Open VSX Registry
run: ovsx publish *.vsix
env:
OVSX_PAT: ${{ secrets.OPEN_VSX_TOKEN }}