This commit is contained in:
John Doe 2021-10-31 15:08:08 +08:00
parent d423688797
commit 8a06a1ac85
No known key found for this signature in database
GPG Key ID: 30F190E0C359CB4F

View File

@ -168,9 +168,9 @@ jobs:
ls *img.zst* ib-$DEVICE.tar.xz | parallel --wc 'while true; do curl -T {} -H "$AUTH" -H "Content-Type: application/octet-stream" "https://uploads.$cache_path/$cache_repo_id/assets?name={}" && break || true; done'
set +e
for i in {1..20}; do curl -sL --fail https://github.com/klever1988/sshactions/releases/download/cache/lede.$DEVICE.img.zst.0$i || break; done | zstdmt -d -o /dev/null
set -e
if [ $? -eq 0 ]; then break; fi
done
set -e
- name: Send tg notification
if: env.TG