Skip to content

Commit 54a20b0

Browse files
authored
feat(social): add X posting on release (#47)
Add notify-x job to post releases to X alongside BlueSky.
1 parent cc7f9e6 commit 54a20b0

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,22 @@ jobs:
8787
BLUESKY_USERNAME: ${{ secrets.BLUESKY_USERNAME }}
8888
BLUESKY_APP_PASSWORD: ${{ secrets.BLUESKY_APP_PASSWORD }}
8989

90+
notify-x:
91+
needs: release
92+
uses: CodingWithCalvin/.github/.github/workflows/x-post.yml@main
93+
with:
94+
post_text: |
95+
🚀 CodingWithCalvin.VsixSdk v${{ needs.release.outputs.version }} has been released!
96+
97+
Build modern SDK-style Visual Studio extensions with ease!
98+
99+
Release Notes: https://github.com/${{ github.repository }}/releases/tag/v${{ needs.release.outputs.version }}
100+
NuGet: https://www.nuget.org/packages/CodingWithCalvin.VsixSdk
101+
102+
#dotnet #csharp #visualstudio #nuget
103+
secrets:
104+
X_CONSUMER_KEY: ${{ secrets.X_CONSUMER_KEY }}
105+
X_CONSUMER_KEY_SECRET: ${{ secrets.X_CONSUMER_KEY_SECRET }}
106+
X_ACCESS_TOKEN: ${{ secrets.X_ACCESS_TOKEN }}
107+
X_ACCESS_TOKEN_SECRET: ${{ secrets.X_ACCESS_TOKEN_SECRET }}
108+

0 commit comments

Comments
 (0)