another attempt to get the hashes working

This commit is contained in:
Irmen de Jong 2024-03-17 23:31:04 +01:00
parent d14c61b160
commit d924f8bff8

View File

@ -35,13 +35,15 @@ jobs:
name: prog8-compiler-jar-zipped name: prog8-compiler-jar-zipped
path: compiler/build/libs/*-all.jar path: compiler/build/libs/*-all.jar
- uses: MCJack123/ghaction-generate-release-hashes@v4 - name: Calculate hash
if: "github.event_name == 'release'" uses: MCJack123/ghaction-generate-release-hashes@v4
with: with:
hash-type: sha256 get-assets: true
file-name: hashes.txt hash-type: sha256
- uses: actions/upload-artifact@v4 file-name: hashes.txt
if: "github.event_name == 'release'"
- name: Upload hashes
uses: actions/upload-artifact@v4
with: with:
name: Artifact Hashes name: Artifact Hashes
path: hashes.txt path: hashes.txt