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 77 name : Release and publish
88 runs-on : ubuntu-latest
99 steps :
10- - uses : actions/checkout @v2
10+ - uses : actions/setup-node @v2
1111 with :
12- fetch-depth : 1
12+ node-version : ' 16'
13+ - uses : actions/checkout@v2
14+
1315 - run : npm install
1416
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