Skip to content

Commit

Permalink
added logging of sha256
Browse files Browse the repository at this point in the history
  • Loading branch information
matthme committed Aug 28, 2024
1 parent ff3d0df commit 6e34a5b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/holochain-binaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ jobs:
$HcPath = Get-Command holochain | Select-Object -ExpandProperty Definition
Copy-Item $HcPath -Destination holochain-v${{ inputs.holochain-version }}-x86_64-pc-windows-msvc.exe
CertUtil -hashfile "holochain-v${{ inputs.holochain-version }}-x86_64-pc-windows-msvc.exe" SHA256
gh release upload "holochain-binaries-${{ inputs.holochain-version }}" "holochain-v${{ inputs.holochain-version }}-x86_64-pc-windows-msvc.exe"
- name: setup binaries (macos-latest only)
Expand All @@ -66,6 +68,8 @@ jobs:
HOLOCHAIN_PATH=$(which holochain)
cp $HOLOCHAIN_PATH holochain-v${{ inputs.holochain-version }}-aarch64-apple-darwin
shasum -a 256 holochain-v${{ inputs.holochain-version }}-aarch64-apple-darwin
gh release upload "holochain-binaries-${{ inputs.holochain-version }}" "holochain-v${{ inputs.holochain-version }}-aarch64-apple-darwin"
- name: setup binaries (macos-12 only)
Expand All @@ -79,6 +83,8 @@ jobs:
HOLOCHAIN_PATH=$(which holochain)
cp $HOLOCHAIN_PATH holochain-v${{ inputs.holochain-version }}-x86_64-apple-darwin
shasum -a 256 holochain-v${{ inputs.holochain-version }}-x86_64-apple-darwin
gh release upload "holochain-binaries-${{ inputs.holochain-version }}" "holochain-v${{ inputs.holochain-version }}-x86_64-apple-darwin"
- name: setup binaries (ubuntu only)
Expand All @@ -90,4 +96,6 @@ jobs:
HOLOCHAIN_PATH=$(which holochain)
cp $HOLOCHAIN_PATH holochain-v${{ inputs.holochain-version }}-x86_64-unknown-linux-gnu
shasum -a 256 holochain-v${{ inputs.holochain-version }}-x86_64-unknown-linux-gnu
gh release upload "holochain-binaries-${{ inputs.holochain-version }}" "holochain-v${{ inputs.holochain-version }}-x86_64-unknown-linux-gnu"
4 changes: 4 additions & 0 deletions .github/workflows/lair-binaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
cargo install lair_keystore --version ${{ inputs.lair-version }}
$LkPath = Get-Command lair-keystore | Select-Object -ExpandProperty Definition
Copy-Item $LkPath -Destination "lair-keystore-v${{ inputs.lair-version }}-x86_64-pc-windows-msvc.exe"
CertUtil -hashfile "lair-keystore-v${{ inputs.lair-version }}-x86_64-pc-windows-msvc.exe" SHA256
gh release upload "lair-binaries-${{ inputs.lair-version }}" "lair-keystore-v${{ inputs.lair-version }}-x86_64-pc-windows-msvc.exe"
- name: setup binaries (macos-latest only)
Expand All @@ -59,6 +60,7 @@ jobs:
cargo install lair_keystore --version ${{ inputs.lair-version }} --target aarch64-apple-darwin
LAIR_PATH=$(which lair-keystore)
cp $LAIR_PATH lair-keystore-v${{ inputs.lair-version }}-aarch64-apple-darwin
shasum -a 256 lair-keystore-v${{ inputs.lair-version }}-aarch64-apple-darwin
gh release upload "lair-binaries-${{ inputs.lair-version }}" "lair-keystore-v${{ inputs.lair-version }}-aarch64-apple-darwin"
- name: setup binaries (macos-12 only)
Expand All @@ -71,6 +73,7 @@ jobs:
cargo install lair_keystore --version ${{ inputs.lair-version }} --target x86_64-apple-darwin
LAIR_PATH=$(which lair-keystore)
cp $LAIR_PATH lair-keystore-v${{ inputs.lair-version }}-x86_64-apple-darwin
shasum -a 256 lair-keystore-v${{ inputs.lair-version }}-x86_64-apple-darwin
gh release upload "lair-binaries-${{ inputs.lair-version }}" "lair-keystore-v${{ inputs.lair-version }}-x86_64-apple-darwin"
Expand All @@ -82,4 +85,5 @@ jobs:
cargo install lair_keystore --version ${{ inputs.lair-version }}
LAIR_PATH=$(which lair-keystore)
cp $LAIR_PATH lair-keystore-v${{ inputs.lair-version }}-x86_64-unknown-linux-gnu
shasum -a 256 lair-keystore-v${{ inputs.lair-version }}-x86_64-unknown-linux-gnu
gh release upload "lair-binaries-${{ inputs.lair-version }}" "lair-keystore-v${{ inputs.lair-version }}-x86_64-unknown-linux-gnu"

0 comments on commit 6e34a5b

Please sign in to comment.