Create torrent.yml

This commit is contained in:
Bill Zimmerman
2025-08-20 18:47:12 +02:00
committed by GitHub
parent d9e00171b2
commit eca174a20b

27
.github/workflows/torrent.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: Torrent Generation
on:
workflow_dispatch
jobs:
torrent:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Create torrents
uses: devopsx/action-torrent@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: |
raspap-bookworm-arm64-lite-*.img.zip
raspap-bookworm-armhf-lite-*.img.zip
- name: Upload to release
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: torrents/*.torrent