File tree Expand file tree Collapse file tree 1 file changed +2
-45
lines changed Expand file tree Collapse file tree 1 file changed +2
-45
lines changed Original file line number Diff line number Diff line change 55 tags :
66 - " vsc/v*"
77 workflow_dispatch :
8- inputs :
9- release_type :
10- description : " Release type"
11- required : true
12- default : " patch"
13- type : " choice"
14- options :
15- - patch
16- - minor
17- - major
188
199permissions :
2010 contents : write # This is needed to create releases
2111
2212jobs :
23- build :
13+ release :
2414 runs-on : ubuntu-latest
2515 defaults :
2616 run :
@@ -33,46 +23,13 @@ jobs:
3323 uses : actions/setup-node@v3
3424 with :
3525 node-version : 20
26+
3627 - name : Install dependencies
3728 run : npm ci
3829
3930 - name : Copy assets
4031 run : cp -r ../../core/dist ./core-dist
4132
42- - name : Compile
43- run : npm run compile
44-
45- - name : Package Extension
46- if : success()
47- run : |
48- npm install -g @vscode/vsce
49- vsce package
50-
51- - name : Upload VSIX as artifact
52- if : success()
53- uses : actions/upload-artifact@v4
54- with :
55- name : openapi-ui-vsix
56- path : " src/vsc-extension/openapi-ui/*.vsix"
57- retention-days : 30
58- release :
59- needs : build
60- runs-on : ubuntu-latest
61- defaults :
62- run :
63- working-directory : src/vsc-extension/openapi-ui
64- steps :
65- - name : Checkout code
66- uses : actions/checkout@v3
67-
68- - name : Setup Node.js
69- uses : actions/setup-node@v3
70- with :
71- node-version : 20
72-
73- - name : Install dependencies
74- run : npm ci
75-
7633 - name : Package Extension
7734 run : |
7835 npm install -g @vscode/vsce
You can’t perform that action at this time.
0 commit comments