Run sha256sum in macos signer too for debuging purposes

This commit is contained in:
David Dworken 2023-11-06 21:17:09 -08:00
parent e1f69f8731
commit 8567b4cbdf
No known key found for this signature in database
2 changed files with 5 additions and 2 deletions

View File

@ -130,7 +130,7 @@ jobs:
export GITHUB_TOKEN="${{ secrets.GITHUB_TOKEN }}"
gh run download -n hishtory-darwin-amd64
gh run download -n hishtory-darwin-arm64
brew install md5sha1sum
brew install md5sha1sum coreutils
python3 scripts/actions-sign.py
- name: Upload Artifacts
uses: actions/upload-artifact@v3

View File

@ -5,6 +5,8 @@ import subprocess
def main():
print("before sha1sum:")
os.system("sha1sum hishtory-* 2>&1")
print("before sha256sum:")
os.system("sha256sum hishtory-* 2>&1")
print("file:")
os.system("file hishtory-* 2>&1")
@ -31,7 +33,8 @@ def main():
print("after sha1sum:")
os.system("sha1sum hishtory-* 2>&1")
print("after sha256sum:")
os.system("sha256sum hishtory-* 2>&1")
def assertPresentAndNotAscii(fn):