Update build-kernel.yml

This commit is contained in:
Igor Pečovnik
2022-01-11 19:51:11 +01:00
committed by GitHub
parent 3bf976f8c7
commit 4e09fb0ce2

View File

@@ -202,7 +202,7 @@ jobs:
echo "FILE_NAME=${BRANCH}-${FAMILY}" >> $GITHUB_ENV
echo "UPLOAD=true" >> $GITHUB_ENV
# Cleanup
sudo find output/debs-beta/. -type f -not \( -name 'linux*' -or -name 'armbian*' \) -print0 | sudo xargs -0 -I {} rm {}
sudo find output/debs-beta/. -type f -not \( -name 'linux*' -or -name 'armbian*' -or -name '.*' \) -print0 | sudo xargs -0 -I {} rm {}
# copy edge brach to stable repo
sudo cp output/debs-beta/linux-{dtb,image,source,headers}-edge-* output/debs/ || true
fi