mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-11 02:08:01 -06:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 57c7afcdb4 |
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
@@ -129,10 +129,10 @@ jobs:
|
|||||||
|
|
||||||
# Check if the failure was due to the specific hash error
|
# Check if the failure was due to the specific hash error
|
||||||
if grep -q "emcc: error: Unexpected hash:" /tmp/build_output.log; then
|
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
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user