From 2af85ba80de4fe52de609ae0262cab0fb7ee8cab Mon Sep 17 00:00:00 2001 From: tildearrow Date: Thu, 25 Jan 2024 21:16:51 -0500 Subject: [PATCH] work around the workaround --- .github/workflows/build.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 67dfc7033..b052f2cef 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -284,7 +284,16 @@ jobs: if: ${{ runner.os == 'macOS' }} run: | pushd build - cpack + retries=0 + while ! cpack; do + echo "TRYING AGAIN..." + retries=$((retries+1)) + if [ $retries -gt 5 ]; then + echo "OH NO, WE'VE FAILED..." + exit 1 + break + fi + done echo "making dirs" mkdir orig