diff --git a/.github/workflows/gki-kernel.yml b/.github/workflows/gki-kernel.yml index 25f02a83..21bb6346 100644 --- a/.github/workflows/gki-kernel.yml +++ b/.github/workflows/gki-kernel.yml @@ -198,7 +198,10 @@ jobs: - name: Make working directory clean to avoid dirty working-directory: android-kernel run: | - # rm common/android/abi_gki_protected_exports_* || echo "No protected exports!" + if [ -e common/BUILD.bazel ]; then + sed -i '/^[[:space:]]*"protected_exports_list"[[:space:]]*:[[:space:]]*"android\/abi_gki_protected_exports_aarch64",$/d' common/BUILD.bazel + fi + rm common/android/abi_gki_protected_exports_* || echo "No protected exports!" git config --global user.email "bot@kernelsu.org" git config --global user.name "KernelSUBot" cd common/ && git add -A && git commit -a -m "Add KernelSU"