diff --git a/.github/workflows/lo-test.yml b/.github/workflows/lo-test.yml index 6c2dfef..00f33a2 100644 --- a/.github/workflows/lo-test.yml +++ b/.github/workflows/lo-test.yml @@ -38,7 +38,7 @@ jobs: - name: Checkout run: | cd - sudo curl -sL https://raw.githubusercontent.com/klever1988/nanopi-openwrt/zstd-bin/zstd | sudo tee /usr/bin/zstd > /dev/null + curl -sL https://raw.githubusercontent.com/klever1988/nanopi-openwrt/zstd-bin/zstd | sudo tee /usr/bin/zstd > /dev/null for i in {1..10} do curl -sL --fail https://github.com/klever1988/sshactions/releases/download/cache/lede.$DEVICE.img.zst.0$i || break @@ -51,7 +51,7 @@ jobs: git remote set-branches --add origin openwrt-18.06 git fetch && git reset --hard origin/openwrt-18.06-k5.4 && git merge -X theirs --no-edit origin/openwrt-18.06 else - sudo chown $USER:$(id -gn) lede && (cd lede && git init && git remote add -t openwrt-18.06-k5.4 -f origin https://github.com/immortalwrt/immortalwrt && git checkout openwrt-18.06-k5.4) + sudo chown $USER:$(id -gn) lede && git clone -b openwrt-18.06-k5.4 --single-branch lede fi - name: Update feeds and packages