build: fix cache
This commit is contained in:
2
.github/workflows/lo-test.yml
vendored
2
.github/workflows/lo-test.yml
vendored
@@ -38,7 +38,7 @@ jobs:
|
||||
run: |
|
||||
cd
|
||||
sudo curl -sL https://raw.githubusercontent.com/klever1988/nanopi-openwrt/zstd-bin/zstd | sudo tee /usr/bin/zstd > /dev/null
|
||||
for i in {1..6}
|
||||
for i in {1..10}
|
||||
do
|
||||
curl -sL --fail https://github.com/klever1988/sshactions/releases/download/cache/lede.$DEVICE.img.zst.0$i || break
|
||||
done | zstdmt -d -o lede.img || (truncate -s 10g lede.img && mkfs.btrfs -M lede.img)
|
||||
|
||||
Reference in New Issue
Block a user