hash only on release?

This commit is contained in:
Irmen de Jong 2024-02-10 02:07:37 +01:00
parent 906d9d858c
commit 98e1c843e4

View File

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