From e401d048ca33548ce0fac589ea24a335c0472bdb Mon Sep 17 00:00:00 2001 From: Magus Date: Tue, 10 Dec 2024 14:35:11 +0700 Subject: [PATCH] Should only create torrents on release --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 47f77c9cd..78c56d390 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -77,6 +77,7 @@ jobs: # Create torrents - name: Release torrents + if: startsWith(github.ref, 'refs/tags/') uses: devopsx/action-torrent@v1 with: token: ${{ secrets.GITHUB_TOKEN }}