]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
ci: print hashes, draft release
authortobtoht <tob@featherwallet.org>
Tue, 17 Sep 2024 14:10:19 +0000 (16:10 +0200)
committertobtoht <tob@featherwallet.org>
Tue, 17 Sep 2024 14:11:01 +0000 (16:11 +0200)
.github/workflows/guix.yml

index 8418f2d5b8a37d419c0ffc9b14d564428297ebea..68fc141c1405ef6e0093cb34a2595e5b115aa869 100644 (file)
@@ -80,7 +80,16 @@ jobs:
       - uses: actions/download-artifact@v4
         with:
           merge-multiple: true
+      - name: print hashes
+        run: |
+          uname --machine && find **/output/ -type f -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum >> $GITHUB_STEP_SUMMARY
       - uses: actions/upload-artifact@v4
         with:
           name: "logs"
           path: '**/logs/**'
+      - uses: ncipollo/release-action@v1
+        if: startsWith(github.ref, 'refs/tags/')
+        with:
+          artifacts: "**/*.AppImage,**/*-linux-arm.zip,**/*-linux-arm64.zip,**/*-linux-riscv64.zip,**/*-linux.zip,**/*-mac-arm64.zip,**/*-mac.zip,**/*-win.zip,**/FeatherWalletSetup-*.exe,**/feather-{{github.ref_name}}.tar.gz"
+          draft: true
+          name: v${{github.ref_name}}