File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed
Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -3,18 +3,23 @@ name: Publish to VS Marketplace
33on :
44 workflow_dispatch :
55
6+ permissions :
7+ contents : write
8+ actions : read
9+
610jobs :
711 publish :
812 runs-on : windows-latest
13+ outputs :
14+ version : ${{ steps.artifact_manifest.outputs.version }}
915 steps :
1016 - name : Checkout
1117 uses : actions/checkout@v4
1218
1319 - name : 1. Download artifact
1420 id : download-artifact
15- uses : dawidd6/action-download-artifact@v2
21+ uses : dawidd6/action-download-artifact@v6
1622 with :
17- github_token : ${{secrets.GH_SECRET}}
1823 workflow : release_build_and_deploy.yml
1924 workflow_conclusion : success
2025
3035 artifacts : ./artifact/CodingWithCalvin.OpenInNotepadPlusPlus.vsix
3136 generateReleaseNotes : true
3237 makeLatest : true
33- token : ${{ secrets.GH_SECRET }}
3438 commit : ${{ steps.artifact_manifest.outputs.sha }}
3539 tag : ${{ steps.artifact_manifest.outputs.version }}
3640
4145 marketplace-pat : ${{ secrets.VS_PAT }}
4246 publish-manifest-path : ./resources/extension.manifest.json
4347 vsix-path : ./artifact/CodingWithCalvin.OpenInNotepadPlusPlus.vsix
48+
49+ notify :
50+ needs : publish
51+ uses : CodingWithCalvin/.github/.github/workflows/bluesky-post.yml@main
52+ with :
53+ post_text : |
54+ 🚀 Open in Notepad++ v${{ needs.publish.outputs.version }} for #VisualStudio has been released!
55+
56+ [Check out the release notes here!](https://github.com/${{ github.repository }}/releases/tag/${{ needs.publish.outputs.version }})
57+
58+ Marketplace: https://marketplace.visualstudio.com/items?itemName=CodingWithCalvin.VS-OpenInNotepadPlusPlus
59+ secrets :
60+ BLUESKY_USERNAME : ${{ secrets.BLUESKY_USERNAME }}
61+ BLUESKY_APP_PASSWORD : ${{ secrets.BLUESKY_APP_PASSWORD }}
You can’t perform that action at this time.
0 commit comments