Update build-kernel.yml

This commit is contained in:
Igor Pečovnik
2022-01-11 18:52:19 +01:00
committed by GitHub
parent 8bfcc89b0e
commit 3bf976f8c7

View File

@@ -201,8 +201,10 @@ jobs:
echo "FILE_HASH=$(ls -1 cache/hash-beta/*.githash | head -1)" >> $GITHUB_ENV
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 {}
# copy edge brach to stable repo
# cp output/debs-beta/linux-{dtb,image,source,headers}-edge-* output/debs/ || true
sudo cp output/debs-beta/linux-{dtb,image,source,headers}-edge-* output/debs/ || true
fi
- name: Upload hash