Skip to content

Commit 1e8e5ef

Browse files
committed
feat(social): add X posting on release
Add post-x job to post releases to X alongside BlueSky.
1 parent 219c407 commit 1e8e5ef

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,23 @@ jobs:
9191
BLUESKY_USERNAME: ${{ secrets.BLUESKY_USERNAME }}
9292
BLUESKY_APP_PASSWORD: ${{ secrets.BLUESKY_APP_PASSWORD }}
9393

94+
post-x:
95+
name: Post to X
96+
needs: publish
97+
uses: CodingWithCalvin/.github/.github/workflows/x-post.yml@main
98+
with:
99+
post_text: |
100+
🔭 CodingWithCalvin.Otel4Vsix ${{ github.ref_name }} has been released!
101+
102+
Add OpenTelemetry observability to your Visual Studio extensions in minutes!
103+
104+
NuGet: https://www.nuget.org/packages/CodingWithCalvin.Otel4Vsix
105+
Release Notes: https://github.com/CodingWithCalvin/Otel4Vsix/releases/tag/${{ github.ref_name }}
106+
107+
#dotnet #visualstudio #opentelemetry #vsix #nuget
108+
secrets:
109+
X_CONSUMER_KEY: ${{ secrets.X_CONSUMER_KEY }}
110+
X_CONSUMER_KEY_SECRET: ${{ secrets.X_CONSUMER_KEY_SECRET }}
111+
X_ACCESS_TOKEN: ${{ secrets.X_ACCESS_TOKEN }}
112+
X_ACCESS_TOKEN_SECRET: ${{ secrets.X_ACCESS_TOKEN_SECRET }}
113+

0 commit comments

Comments
 (0)