File tree Expand file tree Collapse file tree 1 file changed +30
-23
lines changed Expand file tree Collapse file tree 1 file changed +30
-23
lines changed Original file line number Diff line number Diff line change 1
- name : Extension Package
2
- on : [push]
1
+ name : Build VSIX
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
3
8
jobs :
4
- release :
9
+ build :
5
10
runs-on : ubuntu-latest
11
+
6
12
steps :
7
- - name : Clone Repository
8
- uses : actions/checkout@v2
9
- with :
10
- fetch-depth : 0
11
- - name : Setup Node version
12
- uses : actions/setup-node@v1
13
- with :
14
- node-version : 16
15
- - name : Install dependencies
16
- run : yarn install --frozen-lockfile
17
- - name : Build Package
18
- run : yarn build
19
- env :
20
- NODE_ENV : production
21
- MARQUEE_INSTRUMENTATION_KEY : ${{ secrets.MARQUEE_INSTRUMENTATION_KEY }}
22
- if : ${{ github.event.inputs.releaseChannel == 'stable' }}
23
- - name : Package Extension (Stable)
24
- run : yarn vsce package $RELEASE_VERSION --yarn --no-git-tag-version --no-update-package-json -o "./marquee-$RELEASE_VERSION.vsix" ${{ github.event.inputs.additionalFlags }}
25
- if : ${{ github.event.inputs.releaseChannel == 'stable' }}
26
-
13
+ - name : Checkout code
14
+ uses : actions/checkout@v2
15
+
16
+ - name : Setup Node.js environment
17
+ uses : actions/setup-node@v2
18
+ with :
19
+ node-version : ' 14'
20
+
21
+ - name : Install dependencies
22
+ run : npm ci
23
+ working-directory : nucleo-debugger
24
+
25
+ - name : Build VSIX package
26
+ run : npm run vsce package
27
+ working-directory : nucleo-debugger
28
+
29
+ - name : Upload VSIX package
30
+ uses : actions/upload-artifact@v2
31
+ with :
32
+ name : nucleo-debugger.vsix
33
+ path : nucleo-debugger/*.vsix
You can’t perform that action at this time.
0 commit comments