Update host-bot.yml

This commit is contained in:
TrèsAbhi authored and GitHub committed 2025-07-11 18:10:46 -05:00
1 parent 6b9fd1d392
commit 8afafdeece
1 file changed
+11 -11
+11 -11
View File
@@ -32,17 +32,17 @@ jobs:
- name: Download release assets - name: Download release assets
run: | run: |
until DOWNLOAD_URL=$(curl -s https://api.github.com/repos/blitzkit/blitzkit/releases/latest \ while true; do
| grep "browser_download_url.*bot.zip" \ DOWNLOAD_URL=$(curl -s https://api.github.com/repos/blitzkit/blitzkit/releases/latest \
| cut -d : -f 2,3 \ | grep "browser_download_url.*bot.zip" \
| tr -d \"); do | cut -d : -f 2,3 \
echo "Retrying in 5s..."; sleep 5 | tr -d \")
done if curl -fL -o bot.zip "$DOWNLOAD_URL"; then
break
echo "Got URL: $DOWNLOAD_URL" else
echo "Download failed, retrying in 5s..."
until curl -L -o bot.zip "$DOWNLOAD_URL"; do sleep 5
echo "Download failed, retrying in 5s..."; sleep 5 fi
done done
mkdir -p dist/bot mkdir -p dist/bot