File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : build
2+
3+ on :
4+ push :
5+ pull_request :
6+ workflow_dispatch :
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v3
14+
15+ - name : Set up JDK 17
16+ uses : actions/setup-java@v3
17+ with :
18+ java-version : ' 17' # TODO: what version do we want?
19+ distribution : ' adopt'
20+ cache : maven
21+
22+ - name : Set up Node.js 18
23+ uses : actions/setup-node@v3
24+ with :
25+ node-version : ' 18.x' # TODO: what version do we want?
26+ # cache: npm # TODO: requires package-lock.json
27+
28+ - name : Build with Maven
29+ run : mvn install
30+
31+ - name : Build with NPM
32+ working-directory : ./vscode
33+ run : npm install
34+
35+ - name : Set up VSCE
36+ run : npm install -g @vscode/vsce
37+
38+ - name : Build with VSCE
39+ working-directory : ./vscode
40+ run : vsce package
41+
42+ - name : Upload plugin artifact
43+ uses : actions/upload-artifact@v4
44+ with :
45+ name : wiivi-plugin
46+ path : ./vscode/sv-comp-*.vsix
You can’t perform that action at this time.
0 commit comments