From c9e062ec67711e7cc7b80fa50a9ed852785451a8 Mon Sep 17 00:00:00 2001 From: David Dworken Date: Sun, 24 Apr 2022 21:48:06 -0700 Subject: [PATCH] Add debugging prints --- .github/workflows/build-and-sign-macos.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build-and-sign-macos.yml b/.github/workflows/build-and-sign-macos.yml index 7c766e1..6030cc5 100644 --- a/.github/workflows/build-and-sign-macos.yml +++ b/.github/workflows/build-and-sign-macos.yml @@ -18,6 +18,10 @@ jobs: export TAG_NAME=`curl https://api.github.com/repos/ddworken/hishtory/releases/latest | jq -r .tag_name` curl -o hishtory-darwin-arm64 https://github.com/ddworken/hishtory/releases/download/$TAG_NAME-darwin-arm64/hishtory-darwin-arm64 curl -o hishtory-darwin-amd64 https://github.com/ddworken/hishtory/releases/download/$TAG_NAME-darwin-arm64/hishtory-darwin-amd64 + echo "Signing the binaries:" + sha1sum hishtory-* + echo "xattr:" + xattr hishtory-darwin-arm64 echo $MACOS_CERTIFICATE | base64 -d > certificate.p12 security create-keychain -p $MACOS_CERTIFICATE_PWD build.keychain security default-keychain -s build.keychain @@ -26,3 +30,7 @@ jobs: security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k $MACOS_CERTIFICATE_PWD build.keychain /usr/bin/codesign --force -s 6D4E1575A0D40C370E294916A8390797106C8A6E hishtory-darwin-arm64 -v /usr/bin/codesign --force -s 6D4E1575A0D40C370E294916A8390797106C8A6E hishtory-darwin-amd64 -v + echo "Signed the binaries:" + sha1sum hishtory-* + echo "xattr:" + xattr hishtory-darwin-arm64