work around the workaround

This commit is contained in:
tildearrow 2024-01-25 21:16:51 -05:00
parent b20d6deee9
commit 2af85ba80d

View file

@ -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