ci: fix sha256 task in build packages

This commit is contained in:
Ivan Dyachkov 2024-03-04 19:29:28 +01:00
parent 4bc87c475c
commit 2e0e9f1c14
1 changed files with 3 additions and 3 deletions

View File

@ -221,9 +221,9 @@ jobs:
set -eu
cd packages/${{ matrix.profile }}
# fix the .sha256 file format
for var in $(ls | grep emqx | grep -v sha256); do
dos2unix $var.sha256
echo "$(cat $var.sha256) $var" | sha256sum -c || exit 1
for f in *.sha256; do
dos2unix $f
echo "$(cat $f) ${f%.*}" | sha256sum -c || exit 1
done
cd -
- uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.1