File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change 7
7
name : Release and publish
8
8
runs-on : ubuntu-latest
9
9
steps :
10
- - uses : actions/checkout @v2
10
+ - uses : actions/setup-node @v2
11
11
with :
12
- fetch-depth : 1
12
+ node-version : ' 16'
13
+ - uses : actions/checkout@v2
14
+
13
15
- run : npm install
14
16
15
- - run : npm install -g vsce
16
- - name : Create build
17
- run : npm run package
18
-
19
- - name : Upload build
20
- uses : actions/upload-artifact@v2
21
- with :
22
- name : vscode-db2i-release-build
23
- path : ./*.vsix
17
+ - run : npm install -g vsce ovsx
18
+
19
+ - name : Publish to Marketplace
20
+ run : vsce publish -p $PUBLISHER_TOKEN
21
+ env :
22
+ PUBLISHER_TOKEN : ${{ secrets.PUBLISHER_TOKEN }}
23
+
24
+ - name : Publish to Open VSX
25
+ run : npx ovsx publish -p ${{ secrets.OPENVSX_TOKEN }}
You can’t perform that action at this time.
0 commit comments