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 path: compiler/build/libs/*-all.jar
- uses: MCJack123/ghaction-generate-release-hashes@v4 - uses: MCJack123/ghaction-generate-release-hashes@v4
if: "github.event.release" if: "github.event_name == '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" if: "github.event_name == 'release'"
with: with:
name: Artifact Hashes name: Artifact Hashes
path: hashes.txt path: hashes.txt