From 3fb1bfa586c42e1494ce40543049f863a2b66152 Mon Sep 17 00:00:00 2001 From: Nikita Tkachenko Date: Wed, 30 Jul 2025 14:17:50 +0200 Subject: [PATCH] Fix checksum command to strictly follow the required format + remove quiet option not support in BusyBox implementation --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 27367ec..f43e183 100644 --- a/action.yml +++ b/action.yml @@ -125,11 +125,11 @@ runs: fi if command -v sha256sum >/dev/null 2>&1; then - if ! echo "$INSTALLATION_SCRIPT_CHECKSUM $script_filepath" | sha256sum --quiet -c -; then + if ! echo "$INSTALLATION_SCRIPT_CHECKSUM $script_filepath" | sha256sum -c -; then exit 1 fi elif command -v shasum >/dev/null 2>&1; then - if ! echo "$INSTALLATION_SCRIPT_CHECKSUM $script_filepath" | shasum --quiet -a 256 -c -; then + if ! echo "$INSTALLATION_SCRIPT_CHECKSUM $script_filepath" | shasum -a 256 -c -; then exit 1 fi else