ci: revert to openssl digest for sha256 sum on mac

This commit is contained in:
Zaiming (Stone) Shi 2022-02-12 12:24:48 +01:00
parent 9ff0899b75
commit 5171d3811c
1 changed files with 2 additions and 1 deletions

View File

@ -202,7 +202,8 @@ jobs:
exit 1 exit 1
fi fi
rm -rf emqx rm -rf emqx
sha256sum ./_packages/${{ matrix.profile }}/$pkg_name | head -c64 > ./_packages/${{ matrix.profile }}/$pkg_name.sha256 #sha256sum ./_packages/${{ matrix.profile }}/$pkg_name | head -c64 > ./_packages/${{ matrix.profile }}/$pkg_name.sha256
openssl dgst -sha256 ./_packages/${{ matrix.profile }}/$pkg_name | awk '{print $2}' > ./_packages/${{ matrix.profile }}/$pkg_name.sha256
- uses: actions/upload-artifact@v1 - uses: actions/upload-artifact@v1
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
with: with: