File tree Expand file tree Collapse file tree 1 file changed +21
-6
lines changed Expand file tree Collapse file tree 1 file changed +21
-6
lines changed Original file line number Diff line number Diff line change 5
5
jobs :
6
6
tweet :
7
7
runs-on : ubuntu-latest
8
+ env :
9
+ CONSUMER_API_KEY : ${{ secrets.TWITTER_CONSUMER_API_KEY }}
10
+ CONSUMER_API_SECRET_KEY : ${{ secrets.TWITTER_CONSUMER_API_SECRET_KEY }}
11
+ ACCESS_TOKEN : ${{ secrets.TWITTER_ACCESS_TOKEN }}
12
+ ACCESS_TOKEN_SECRET : ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
8
13
steps :
9
- - uses : ethomson/send-tweet-action@v1
14
+ - uses : actions/checkout@v3
15
+ - name : Tweet summary
16
+ id : summary
17
+ uses : snow-actions/tweet@v1.4.0
10
18
with :
11
- status : " Obsidian Invio Feature"
12
- consumer-key : ${{ secrets.TWITTER_CONSUMER_API_KEY }}
13
- consumer-secret : ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
14
- access-token : ${{ secrets.TWITTER_ACCESS_TOKEN }}
15
- access-token-secret : ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
19
+ status : |
20
+ Released ${{ github.event.release.name }}
21
+ ${{ github.event.release.html_url }}
22
+ media_paths : |
23
+ 1st.png
24
+ 2nd.png
25
+ - name : Tweet details
26
+ uses : snow-actions/tweet@v1.4.0
27
+ with :
28
+ status : |
29
+ Additional information
30
+ in_reply_to_status_id : ${{ fromJSON(steps.summary.outputs.response).id_str }}
You can’t perform that action at this time.
0 commit comments