Skip to content

Commit 1b31d74

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

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
@@ -164,3 +164,20 @@ jobs:
164164
BLUESKY_USERNAME: ${{ secrets.BLUESKY_USERNAME }}
165165
BLUESKY_APP_PASSWORD: ${{ secrets.BLUESKY_APP_PASSWORD }}
166166

167+
notify-x:
168+
name: Post to X
169+
needs: release
170+
uses: CodingWithCalvin/.github/.github/workflows/x-post.yml@main
171+
with:
172+
post_text: |
173+
🚀 VSCWhere v${{ github.event.inputs.version }} is now available!
174+
175+
A CLI tool to locate #VisualStudioCode installations on #Windows - like vswhere for VS Code.
176+
177+
https://github.com/${{ github.repository }}/releases/tag/v${{ github.event.inputs.version }}
178+
secrets:
179+
X_CONSUMER_KEY: ${{ secrets.X_CONSUMER_KEY }}
180+
X_CONSUMER_KEY_SECRET: ${{ secrets.X_CONSUMER_KEY_SECRET }}
181+
X_ACCESS_TOKEN: ${{ secrets.X_ACCESS_TOKEN }}
182+
X_ACCESS_TOKEN_SECRET: ${{ secrets.X_ACCESS_TOKEN_SECRET }}
183+

0 commit comments

Comments
 (0)