This commit is contained in:
John Doe
2024-01-25 08:45:47 +08:00
parent 22a9aece53
commit d6178bc791

View File

@@ -63,7 +63,7 @@ jobs:
mkdir lede && sudo mount -o nossd,compress=zstd $LOOP_DEVICE lede
if [ -d 'lede/.git' ]; then
cd lede && rm -f zerospace && git config --local user.email "action@github.com" && git config --local user.name "GitHub Action"
git fetch && git reset --hard origin/$BRANCH && git clean -df
git fetch && git reset --hard origin/HEAD && git clean -df
else
sudo chown $USER:$(id -gn) lede && git clone -b $BRANCH --single-branch https://github.com/coolsnowwolf/lede lede
fi