File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- - if : github.ref == 'refs/heads/main'
2- name : Publish to Visual Studio Marketplace
3- uses : HaaLeo/publish-vscode-extension@v2
4- with :
5- pat : ${{ secrets.VS_MARKETPLACE_TOKEN }}
6- registryUrl : https://marketplace.visualstudio.com
7- id : vsmPublish
8- # TODO: Publish to Open VSX Registry
9- # - if: github.ref == 'refs/heads/main'
10- # name: Publish to Open VSX Registry
11- # uses: HaaLeo/publish-vscode-extension@v2
12- # with:
13- # pat: ${{ secrets.OPEN_VSX_REGISTRY_TOKEN }}
14- # extensionFile: ${{ steps.vsmPublish.outputs.vsixPath }}
1+ on :
2+ push :
3+ branches :
4+ - main
5+ jobs :
6+ publish :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - name : Publish to Visual Studio Marketplace
10+ uses : HaaLeo/publish-vscode-extension@v2
11+ with :
12+ pat : ${{ secrets.VS_MARKETPLACE_TOKEN }}
13+ registryUrl : https://marketplace.visualstudio.com
14+ id : vsmPublish
15+ # TODO: Publish to Open VSX Registry
16+ # - name: Publish to Open VSX Registry
17+ # uses: HaaLeo/publish-vscode-extension@v2
18+ # with:
19+ # pat: ${{ secrets.OPEN_VSX_REGISTRY_TOKEN }}
20+ # extensionFile: ${{ steps.vsmPublish.outputs.vsixPath }}
You can’t perform that action at this time.
0 commit comments