Skip to content

Commit

Permalink
Update ckb-md5-verify.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gpBlockchain authored Feb 13, 2024
1 parent fcfd88f commit 118f3aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ckb-md5-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ jobs:
tar -zxvf ckb_${CKB_VERSION}_${REL_PKG}.tar.gz
wget_md5=$(md5sum "ckb_${CKB_VERSION}_${REL_PKG}/ckb" | awk '{print $1}')
docker run --rm -i -w /ckb -v $(pwd):/ckb $BUILDER_IMAGE make ${{ matrix.build_target }}
cd target/prod
build_md5=$(md5sum "ckb" | awk '{print $1}')
if [ "$build_md5" == "$wget_md5" ]; then
echo "MD5 sums are equal."
Expand Down Expand Up @@ -160,6 +161,7 @@ jobs:
unzip ckb_${CKB_VERSION}_${REL_PKG}.zip
wget_md5=$(md5sum "ckb_${CKB_VERSION}_${REL_PKG}/ckb" | awk '{print $1}')
make ${{ matrix.build_target }}
cd target/prod
build_md5=$(md5sum "ckb" | awk '{print $1}')
if [ "$build_md5" == "$wget_md5" ]; then
echo "MD5 sums are equal."
Expand Down

0 comments on commit 118f3aa

Please sign in to comment.