From 7fa181fef6c0d37496573a47b5d41cbbac7de28d Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 27 Nov 2025 09:34:40 -0500 Subject: [PATCH] Handle failure from grep/awk --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 62de7dd7..8063b5fc 100644 --- a/action.yml +++ b/action.yml @@ -200,7 +200,7 @@ runs: cat coveralls-checksums.txt # Extract expected checksum - expected_checksum=$(grep "${platform_filename}" coveralls-checksums.txt | awk '{print $1}') + expected_checksum=$(grep "${platform_filename}" coveralls-checksums.txt | awk '{print $1}' || true) if [ -z "$expected_checksum" ]; then echo "Failed to extract checksum for ${platform_filename}" [ "${{ inputs.fail-on-error }}" == "false" ] && exit 0