Skip to content

Commit

Permalink
Adjust file check
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed May 22, 2024
1 parent 6c49c28 commit 0ab25ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ runs:
# Compress Armbian image file
pigz -qf *.img || gzip -qf *.img
# Generate a sha256sum verification file for each Armbian image file
for file in *; do [[ ! -d "${file}" ]] && sha256sum "${file}" >"${file}.sha"; done
for file in *; do [[ -f "${file}" ]] && sha256sum "${file}" >"${file}.sha" 2>/dev/null; done
rm -f *.sha.sha 2>/dev/null
sync && sleep 3
Expand Down

0 comments on commit 0ab25ee

Please sign in to comment.