hash only on release?

This commit is contained in:
Irmen de Jong 2024-02-10 02:11:39 +01:00
parent 98e1c843e4
commit 64c9c9b7fe

View File

@ -36,12 +36,12 @@ jobs:
path: compiler/build/libs/*-all.jar
- uses: MCJack123/ghaction-generate-release-hashes@v4
if: "github.event.release"
if: "github.event_name == 'release'"
with:
hash-type: sha256
file-name: hashes.txt
- uses: actions/upload-artifact@v3
if: "github.event.release"
if: "github.event_name == 'release'"
with:
name: Artifact Hashes
path: hashes.txt