@@ -3,48 +3,17 @@ name: Publish to VS Marketplace
33on :
44 workflow_dispatch :
55
6- jobs :
7- changelog :
8- name : Generate Changelog
9- uses : CodingWithCalvin/.github/.github/workflows/generate-changelog.yml@main
6+ permissions :
7+ contents : write
8+ actions : read
109
10+ jobs :
1111 publish :
12- needs : changelog
13- runs-on : windows-latest
14- permissions :
15- contents : write
16- steps :
17- - name : Checkout
18- uses : actions/checkout@v4
19-
20- - name : 1. Download artifact
21- id : download-artifact
22- uses : dawidd6/action-download-artifact@v6
23- with :
24- workflow : build.yml
25- workflow_conclusion : success
26-
27- - name : 2. Parse Artifact Manifest
28- id : artifact_manifest
29- uses : ActionsTools/read-json-action@main
30- with :
31- file_path : ./artifact/CodingWithCalvin.BreakpointNotifier.info
32-
33- - name : 3. Create Tag & Release
34- uses : ncipollo/release-action@v1.14.0
35- with :
36- artifacts : ./artifact/CodingWithCalvin.BreakpointNotifier.vsix
37- body : ${{ needs.changelog.outputs.changelog }}
38- makeLatest : true
39- commit : ${{ steps.artifact_manifest.outputs.sha }}
40- tag : ${{ steps.artifact_manifest.outputs.version }}
41-
42- - name : 4. Publish Release to Marketplace
43- if : success()
44- uses : CodingWithCalvin/GHA-VSMarketplacePublisher@v1
45- with :
46- marketplace-pat : ${{ secrets.VS_PAT }}
47- publish-manifest-path : ./resources/extension.manifest.json
48- vsix-path : ./artifact/CodingWithCalvin.BreakpointNotifier.vsix
49-
50-
12+ uses : CodingWithCalvin/.github/.github/workflows/vsix-publish.yml@main
13+ with :
14+ extension-name : BreakpointNotifier
15+ display-name : ' Breakpoint Notifier'
16+ marketplace-id : CodingWithCalvin.VS-BreakpointNotifier
17+ description : ' Opens a dialog box when a breakpoint is hit - great for multi-tasking!'
18+ hashtags : ' #debugging'
19+ secrets : inherit
0 commit comments