File tree Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches :
4
+ - master
5
+ name : Build Extension
6
+ jobs :
7
+ deploy :
8
+ runs-on : ubuntu-20.04
9
+ steps :
10
+ - uses : actions/checkout@v2
11
+ - run : npm install
12
+ - run : npm install --global vsce
13
+ - run : vsce package --out coder.vsix
14
+ - uses : actions/upload-artifact@v2
15
+ with :
16
+ name : coder.vsix
17
+ path : ./coder.vsix
Original file line number Diff line number Diff line change 3
3
"publisher" : " coder" ,
4
4
"displayName" : " Coder" ,
5
5
"description" : " Connect VS Code to your Coder Workspaces" ,
6
+ "repository" : " https://github.com/cdr/vscode-coder" ,
6
7
"version" : " 0.0.1" ,
7
8
"engines" : {
8
9
"vscode" : " ^1.54.0"
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ export function activate(context: vscode.ExtensionContext) {
13
13
} ) ;
14
14
vscode . commands . registerCommand ( "coderWorkspaces.rebuildWorkspace" , ( ws : CoderWorkspace ) => {
15
15
const { name } = ws . workspace ;
16
- rebuildWorkspace ( name ) ;
16
+ rebuildWorkspace ( name ) . then ( ( ) => workspaceProvider . refresh ( ) ) ;
17
17
} ) ;
18
18
19
- vscode . commands . registerCommand ( "coderWorkspaces.refreshWorkspaces" , ( a , b ) => {
19
+ vscode . commands . registerCommand ( "coderWorkspaces.refreshWorkspaces" , ( ) => {
20
20
workspaceProvider . refresh ( ) ;
21
21
} ) ;
22
22
}
You can’t perform that action at this time.
0 commit comments