From 57c7afcdb4f932169c684a1f6ab4f94029d2e0a4 Mon Sep 17 00:00:00 2001 From: Xevion Date: Mon, 28 Jul 2025 20:25:13 -0500 Subject: [PATCH] ci: emit warnings on retry attempts in emscripten build --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index eaf4d84..16aa444 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -129,10 +129,10 @@ jobs: # Check if the failure was due to the specific hash error if grep -q "emcc: error: Unexpected hash:" /tmp/build_output.log; then - echo "Detected 'emcc: error: Unexpected hash:' error - will retry" + echo "::warning::Detected 'emcc: error: Unexpected hash:' error - will retry (attempt $attempt of $MAX_RETRIES)" if [ $attempt -eq $MAX_RETRIES ]; then - echo "All retry attempts failed. Exiting with error." + echo "::error::All retry attempts failed. Exiting with error." exit 1 fi