File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - master
77
88jobs :
9- deploy :
9+ publish :
1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@v4
1313 - uses : actions/setup-node@v4
1414 with :
1515 node-version : 20
1616 - run : npm ci
17+
1718 - name : Semantic Release
1819 run : npx semantic-release
1920 env :
2021 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2122 # Add any other tokens or configuration required by semantic-release plugins
22- - name : Publish to Open VSX Registry
23- uses : HaaLeo/publish-vscode-extension@v1
24- with :
25- pat : ${{ secrets.OPEN_VSX_TOKEN }}
26- - name : Publish to Visual Studio Marketplace
27- uses : HaaLeo/publish-vscode-extension@v1
28- with :
29- pat : ${{ secrets.VS_MARKETPLACE_TOKEN }}
30- registryUrl : https://marketplace.visualstudio.com
23+
24+ - name : Install Visual Studio Marketplace CLI
25+ run : npm install -g vsce
26+
27+ - name : Package & Publish Extension to Visual Studio Marketplace
28+ run : vsce publish --pat ${{ secrets.VS_MARKETPLACE_TOKEN }}
29+
30+ - name : Install Open VSX CLI
31+ run : npm install -g ovsx
32+
33+ - name : Package & Publish Extension to Open VSX Registry
34+ run : ovsx publish --pat ${{ secrets.OPEN_VSX_TOKEN }}
You can’t perform that action at this time.
0 commit comments