File tree 1 file changed +11
-10
lines changed
1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -24,19 +24,20 @@ jobs:
24
24
with :
25
25
file_path : ./artifact/CodingWithCalvin.OpenInNotepadPlusPlus.info
26
26
27
- - name : 3. Publish Release to Marketplace
28
- uses : CodingWithCalvin/GHA-VSMarketplacePublisher@v1
29
- with :
30
- marketplace-pat : ${{ secrets.VS_PAT }}
31
- publish-manifest-path : ./resources/extension.manifest.json
32
- vsix-path : ./artifact/CodingWithCalvin.OpenInNotepadPlusPlus.vsix
33
-
34
- - name : 4. Create Tag & Release
27
+ - name : 3. Create Tag & Release
35
28
36
29
with :
37
30
artifacts : ./artifact/CodingWithCalvin.OpenInNotepadPlusPlus.vsix
38
31
generateReleaseNotes : true
39
32
makeLatest : true
40
- token : ${{secrets.GH_SECRET}}
33
+ token : ${{ secrets.GH_SECRET }}
41
34
commit : ${{ steps.artifact_manifest.outputs.sha }}
42
- tag : " v${{steps.artifact_manifest.outputs.version }}"
35
+ tag : ${{ steps.artifact_manifest.outputs.version }}
36
+
37
+ - name : 4. Publish Release to Marketplace
38
+ if : success()
39
+ uses : CodingWithCalvin/GHA-VSMarketplacePublisher@v1
40
+ with :
41
+ marketplace-pat : ${{ secrets.VS_PAT }}
42
+ publish-manifest-path : ./resources/extension.manifest.json
43
+ vsix-path : ./artifact/CodingWithCalvin.OpenInNotepadPlusPlus.vsix
You can’t perform that action at this time.
0 commit comments