From eca174a20b82a7a443f55b703cd8493c1a72560b Mon Sep 17 00:00:00 2001 From: Bill Zimmerman Date: Wed, 20 Aug 2025 18:47:12 +0200 Subject: [PATCH] Create torrent.yml --- .github/workflows/torrent.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/torrent.yml diff --git a/.github/workflows/torrent.yml b/.github/workflows/torrent.yml new file mode 100644 index 00000000..ac5531ad --- /dev/null +++ b/.github/workflows/torrent.yml @@ -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