Skip to content

feat(ci): Update twitter release package. #2

feat(ci): Update twitter release package.

feat(ci): Update twitter release package. #2

Workflow file for this run

name: Send a Tweet
on:
push:
branches: ["main"]
jobs:
tweet:
runs-on: ubuntu-latest
env:
CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
CONSUMER_API_SECRET_KEY: ${{ secrets.TWITTER_CONSUMER_API_SECRET_KEY }}
ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
steps:
- uses: actions/checkout@v3
- name: Tweet summary
id: summary
uses: snow-actions/[email protected]
with:
status: |
Released ${{ github.event.release.name }}
${{ github.event.release.html_url }}
media_paths: |
1st.png
2nd.png
- name: Tweet details
uses: snow-actions/[email protected]
with:
status: |
Additional information
in_reply_to_status_id: ${{ fromJSON(steps.summary.outputs.response).id_str }}