File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,10 +2,13 @@ name: create torrent
22
33on :
44 workflow_dispatch :
5+ push :
56
67jobs :
78 build :
89 runs-on : ubuntu-latest
10+ permissions :
11+ contents : write
912 steps :
1013 - uses : actions/checkout@v4
1114 - name : Install dependencies
1417 pip3 install py3createtorrent bencodepy
1518 - name : download files and create torrent
1619 run : ./create_monero_torrent.sh
17- - name : show-magnet link
18- run : transmission-show -m watch/*
20+ - name : create release notes
21+ run : |
22+ {
23+ echo "### 🧲 Link"
24+ echo '```'
25+ transmission-show -m watch/*
26+ echo '```'
27+ echo "### Torrent info"
28+ echo '```'
29+ transmission-show watch/*
30+ echo '```'
31+ } >> release-notes.md
32+ - name : Release
33+ uses : softprops/action-gh-release@v2
34+ if : github.ref_type == 'tag'
35+ with :
36+ body_path : release-notes.md
37+ files : watch/*
You can’t perform that action at this time.
0 commit comments