Skip to content

Commit bbd48de

Browse files
committed
all in one
1 parent 28b1f52 commit bbd48de

2 files changed

Lines changed: 38 additions & 1 deletion

File tree

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: publish to VSCode marketplace
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
URL:
7+
description: 'input the URL of the VSIX.'
8+
required: true
9+
default: ''
10+
11+
jobs:
12+
publish-to-vscode-marketplace:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Setup node
17+
uses: actions/setup-node@v2.1.2
18+
with:
19+
node-version: 14
20+
21+
- name: Install VSCE command
22+
run: |
23+
npm install vsce -g
24+
25+
- name: Download VISX fils
26+
uses: nick-invision/retry@v2
27+
with:
28+
timeout_minutes: 10
29+
max_attempts: 10
30+
retry_on: error
31+
shell: bash
32+
command: |
33+
wget ${{ github.event.inputs.URL }}
34+
35+
- name: release to VSCode marketplace
36+
run: |
37+
vsce publish --pat ${{ secrets.VSCE_PAT }} --packagePath *.vsix

packages/p4/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "CodeLens Sample",
44
"description": "Samples for VS Code's CodeLens API",
55
"version": "0.3.6",
6-
"publisher": "ms-vscode",
6+
"publisher": "formulahendry",
77
"engines": {
88
"vscode": "^1.26.0"
99
},

0 commit comments

Comments
 (0)