Skip to content

Commit 9e00648

Browse files
authoredMar 8, 2021
feat: add publish workflow (#2)
1 parent 477c33f commit 9e00648

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed
 

‎.github/workflows/package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ on:
22
push:
33
name: Package Extension
44
jobs:
5-
pacakge:
5+
package:
66
runs-on: ubuntu-20.04
77
steps:
88
- uses: actions/checkout@v2

‎.github/workflows/publish.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
on:
2+
workflow_dispatch:
3+
name: Publish Extension
4+
jobs:
5+
publish:
6+
runs-on: ubuntu-20.04
7+
steps:
8+
- uses: actions/checkout@v2
9+
- uses: actions/setup-node@v2
10+
with:
11+
node-version: '15'
12+
- run: npm ci
13+
- run: npm install -g vsce
14+
- name: Login to vsce
15+
run: echo ${{ secrets.VS_MARKETPLACE_PAT }} | vsce login coder
16+
- run: vsce publish

‎package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
2-
"name": "coder",
2+
"name": "coder-workspaces",
33
"publisher": "coder",
4-
"displayName": "Coder",
4+
"displayName": "Coder Workspaces",
55
"description": "Connect VS Code to your Coder Workspaces",
66
"repository": "https://github.com/cdr/vscode-coder",
7-
"version": "0.0.1-dev",
7+
"preview": true,
8+
"version": "0.0.2",
89
"engines": {
910
"vscode": "^1.54.0"
1011
},

0 commit comments

Comments
 (0)