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+ name : Publish to VS Marketplace
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ tags :
7+ - ' v[0-9]+.[0-9]+.[0-9]+.[0-9]+'
8+
9+ jobs :
10+ publish :
11+ runs-on : windows-latest
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v3
15+
16+ - name : 1. Download artifact
17+ id : download-artifact
18+ uses : dawidd6/action-download-artifact@v2
19+ with :
20+ github_token : ${{secrets.GH_SECRET}}
21+ workflow : release_build_and_deploy.yml
22+ workflow_conclusion : success
23+
24+ - name : 2. Publish Release to Marketplace
25+ uses : CodingWithCalvin/GHA-VSMarketplacePublisher@v1
26+ with :
27+ marketplace-pat : ${{ secrets.VS_PAT }}
28+ publish-manifest-path : ./src/extension.manifest.json
29+ vsix-path : ./artifact/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64.vsix
30+
31+ - name : 3. Create Release
32+ uses : ncipollo/release-action@v1.14.0
33+ with :
34+ artifacts : ./artifact/CodingWithCalvin.OpenInNotepadPlusPlus.Vsix.x64.vsix
35+ generateReleaseNotes : true
36+ makeLatest : true
37+ token : ${{secrets.GH_SECRET}}
38+
You can’t perform that action at this time.
0 commit comments