From e48c740d90390bc3b8bef92edf2bbcdc948e661a Mon Sep 17 00:00:00 2001
From: tobtoht <tob@featherwallet.org>
Date: Tue, 24 Dec 2024 10:12:30 +0100
Subject: [PATCH] ci: print guix hashes to summary

---
 .github/workflows/guix.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/workflows/guix.yml b/.github/workflows/guix.yml
index 47e2eccf7..15c279a9c 100644
--- a/.github/workflows/guix.yml
+++ b/.github/workflows/guix.yml
@@ -98,6 +98,11 @@ jobs:
       - uses: actions/download-artifact@v4
         with:
           merge-multiple: true
+      - name: print hashes
+        run: |
+          echo '```' >> $GITHUB_STEP_SUMMARY
+          find **/output/ -type f -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum >> $GITHUB_STEP_SUMMARY
+          echo '```' >> $GITHUB_STEP_SUMMARY
       - uses: actions/upload-artifact@v4
         with:
           name: "logs"