ci: remove dirty postfix for a14 kernel

This commit is contained in:
weishu
2023-10-24 22:59:52 +08:00
parent 318be535a8
commit f86fce6e16

View File

@@ -157,6 +157,7 @@ jobs:
- name: Make working directory clean to avoid dirty - name: Make working directory clean to avoid dirty
working-directory: android-kernel working-directory: android-kernel
run: | run: |
sed -i '/^rfkill_/d' common/android/abi_gki_protected_exports_*
git config --global user.email "bot@kernelsu.org" git config --global user.email "bot@kernelsu.org"
git config --global user.name "KernelSUBot" git config --global user.name "KernelSUBot"
cd common/ && git add -A && git commit -a -m "Add KernelSU" cd common/ && git add -A && git commit -a -m "Add KernelSU"
@@ -172,7 +173,6 @@ jobs:
if [ -e build/build.sh ]; then if [ -e build/build.sh ]; then
CCACHE="/usr/bin/ccache" LTO=thin BUILD_CONFIG=common/build.config.gki.aarch64 build/build.sh CCACHE="/usr/bin/ccache" LTO=thin BUILD_CONFIG=common/build.config.gki.aarch64 build/build.sh
else else
sed -i '/^rfkill_/d' common/android/abi_gki_protected_exports_*
tools/bazel run --disk_cache=/home/runner/.cache/bazel --config=fast --config=stamp --lto=thin //common:kernel_aarch64_dist -- --dist_dir=dist tools/bazel run --disk_cache=/home/runner/.cache/bazel --config=fast --config=stamp --lto=thin //common:kernel_aarch64_dist -- --dist_dir=dist
fi fi