forked from JaredAAT/vscode-jasmine
-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (24 loc) · 809 Bytes
/
Copy pathmain.yml
File metadata and controls
26 lines (24 loc) · 809 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
name: Deploy Extension
on:
release:
types: [created]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16
- run: npm ci
- name: Publish VS Code Extension
# You may pin to the exact commit or the version.
# uses: HaaLeo/publish-vscode-extension@c1a0486c5a3eed24e8c21d4e37889a7c4c60c443
uses: HaaLeo/publish-vscode-extension@v1
with:
# Personal access token
pat: ${{secrets.VSCODE_PUBLISHER_ACCESS_TOKEN}}
# Use the registry API at this base URL
registryUrl: https://marketplace.visualstudio.com
# Set this option to "true" to package your extension but do not publish it.
dryRun: false