File tree Expand file tree Collapse file tree 3 files changed +46
-3
lines changed
Expand file tree Collapse file tree 3 files changed +46
-3
lines changed Original file line number Diff line number Diff line change 1+ name : " Linux"
2+ on :
3+ push :
4+ branches :
5+ - main
6+ pull_request :
7+ branches :
8+ - main
9+
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ github.head_ref || github.ref }}
12+ cancel-in-progress : false
13+
14+ jobs :
15+ build-and-test :
16+ name : x64-linux
17+ runs-on : ubuntu-24.04
18+
19+ steps :
20+ - name : Checkout Code
21+ uses : actions/checkout@v4
22+
23+ - name : Setup Node.js
24+ uses : actions/setup-node@v5
25+
26+ - name : Install vscode packages
27+ run : npm install --global yo generator-code vsce
28+
29+ - name : Package vscode-extension
30+ run : vsce package
31+
32+ - name : Upload artifact
33+ uses : actions/upload-artifact@v4
34+ with :
35+ name : latest-build
36+ path : *.vsix
37+
38+ - name : Upload release
39+ uses : softprops/action-gh-release@v2
40+ if : github.ref_type == 'tag'
41+ with :
42+ files : *.vsix
43+
Original file line number Diff line number Diff line change 22 "name" : " vscode-hikolang" ,
33 "displayName" : " vscode-hikolang" ,
44 "description" : " Support for the hikolang language." ,
5- "version" : " 0.1.0 " ,
5+ "version" : " 0.1.1 " ,
66 "engines" : {
77 "vscode" : " ^1.105.0"
88 },
Original file line number Diff line number Diff line change 8181 "patterns" : [
8282 {
8383 "name" : " keyword.control.hikolang" ,
84- "match" : " \\ b(if|else|for|while|switch|case|default|break|continue|return|module|import|syntax|let|var| fn|class|union|enum)\\ b"
84+ "match" : " \\ b(if|else|for|while|switch|case|default|break|continue|return|module|import|syntax|fn|class|union|enum|throw|trap|try )\\ b"
8585 }
8686 ]
8787 },
105105 "patterns" : [
106106 {
107107 "name" : " storage.type.hikolang" ,
108- "match" : " \\ b(int|real|string|void )\\ b"
108+ "match" : " \\ b(var|let )\\ b"
109109 }
110110 ]
111111 },
You can’t perform that action at this time.
0 commit comments