File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 1- name : Publish to VSCode marketplace
1+ name : Publish release
22on :
33 push :
44 branches : [ master ]
2020 run : npm ci
2121 - if : steps.check.outputs.changed == 'true'
2222 run : npm test
23- - name : publish
23+ - name : package
24+ if : steps.check.outputs.changed == 'true'
25+ run : npm run package
26+ - name : publish to Github
27+ uses : ncipollo/release-action@v1
28+ if : steps.check.outputs.changed == 'true'
29+ with :
30+ artifacts : " vscode-clangd-*.vsix"
31+ tag : ${{ steps.check.outputs.version }}
32+ commit : ${{ steps.check.outputs.commit }}
33+ token : ${{ secrets.GITHUB_TOKEN }}
34+ - name : publish to VSCode Marketplace
2435 if : steps.check.outputs.changed == 'true'
2536 # The token will be expired in on 01/10/2022. Regenerate it at
2637 # https://llvm-vs-code-extensions.visualstudio.com/_usersSettings/tokens.
2738 run : npm run publish -- -p "${{ secrets.VSCODE_MARKETPLACE_TOKEN }}"
28-
You can’t perform that action at this time.
0 commit comments