File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import tweetrel
2+ tweetrel .send_tweet ()
Original file line number Diff line number Diff line change 1+ name : tweet
2+ on :
3+ workflow_dispatch :
4+ release :
5+ types : [published]
6+ defaults :
7+ run : { shell: bash }
8+
9+ jobs :
10+
11+ build :
12+ strategy :
13+ fail-fast : false
14+ matrix : { os: [ubuntu] }
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v1
18+ - uses : actions/setup-python@v2
19+ with : {python-version: '3.8'}
20+ - name : Run script
21+ env :
22+ CONTEXT_GITHUB : ${{ toJson(github) }}
23+ CONTEXT_SECRETS : ${{ toJson(secrets) }}
24+ TWEETREL_TEMPLATE : |
25+ We are proud to announce the {tag_name} release of Borum Jot for Web!
26+
27+ For more, see: {html_url}. Here are the details:
28+ {body}
29+ run : |
30+ pip install -Uq tweetrel
31+ python .github/scripts/build-tweet.py
You can’t perform that action at this time.
0 commit comments