From 5f27426f59da15755ec4f6f05bb3956bcd66c6fc Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Sun, 17 Mar 2024 23:35:53 +0100 Subject: [PATCH] only on release event --- .github/workflows/all-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/all-ci.yml b/.github/workflows/all-ci.yml index 605bc87be..d26a76b18 100644 --- a/.github/workflows/all-ci.yml +++ b/.github/workflows/all-ci.yml @@ -37,6 +37,7 @@ jobs: - name: Calculate hash uses: MCJack123/ghaction-generate-release-hashes@v4 + if: "github.event_name == 'release'" with: get-assets: true hash-type: sha256 @@ -44,6 +45,7 @@ jobs: - name: Upload hashes uses: actions/upload-artifact@v4 + if: "github.event_name == 'release'" with: name: Artifact Hashes path: hashes.txt