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