Skip to content

Commit 8b7b9f0

Browse files
authored
feat(social): add X posting on release (#41)
Add notify-x job to post releases to X alongside BlueSky.
1 parent 06ee9c5 commit 8b7b9f0

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,20 @@ jobs:
112112
BLUESKY_USERNAME: ${{ secrets.BLUESKY_USERNAME }}
113113
BLUESKY_APP_PASSWORD: ${{ secrets.BLUESKY_APP_PASSWORD }}
114114

115+
notify-x:
116+
needs: [release]
117+
if: ${{ !contains(github.ref_name, '-') }}
118+
uses: CodingWithCalvin/.github/.github/workflows/x-post.yml@main
119+
with:
120+
post_text: |
121+
🚀 Visual Studio Toolbox v${{ needs.release.outputs.version }} released!
122+
123+
Visual Studio Toolbox is a sleek system tray application for Windows that helps you manage all your Visual Studio installations in one place.
124+
125+
Check out the release notes here: https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }}
126+
secrets:
127+
X_CONSUMER_KEY: ${{ secrets.X_CONSUMER_KEY }}
128+
X_CONSUMER_KEY_SECRET: ${{ secrets.X_CONSUMER_KEY_SECRET }}
129+
X_ACCESS_TOKEN: ${{ secrets.X_ACCESS_TOKEN }}
130+
X_ACCESS_TOKEN_SECRET: ${{ secrets.X_ACCESS_TOKEN_SECRET }}
131+

0 commit comments

Comments
 (0)