-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (34 loc) · 927 Bytes
/
Copy pathcreate.yml
File metadata and controls
36 lines (34 loc) · 927 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: create torrent
on:
workflow_dispatch:
push:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get install -y transmission-cli
pip3 install py3createtorrent bencodepy
- name: download files and create torrent
run: ./create_monero_torrent.sh
- name: create release notes
run: |
# make it work 1st then make it pretty
{
echo "🧲```";
transmission-show -m watch/*;
echo "```";
echo "```";
transmission-show watch/*;
echo "```";
}; >> release-notes.md
- name: Release
uses: softprops/action-gh-release@v2
if: github.ref_type == 'tag'
with:
body_path: release-notes.md
files: watch/*