Преглед изворни кода

Refactor removal of protected exports in action.yml

Simplified the removal of protected exports by eliminating conditional checks and unnecessary commands.
jimsterino98 пре 4 месеци
родитељ
комит
ca693b74e9
1 измењених фајлова са 2 додато и 10 уклоњено
  1. 2 10
      .github/actions/abi-export/action.yml

+ 2 - 10
.github/actions/abi-export/action.yml

@@ -7,15 +7,7 @@ runs:
   - name: remove protected exports
     shell: bash
     run: |
-     cd "$CONFIG"
-     if [[ -d kernel_platform ]]; then
-      rm -rf ./kernel_platform/common/android/abi_gki_protected_exports_*
-      rm -rf ./kernel_platform/msm-kernel/android/abi_gki_protected_exports_*
-     else
-      rm -rf "$COMMON"/android/abi_gki_protected_exports_*
-     fi
-
-     #remove protected exports from build.bazel file
-     cd ..
      cd "$COMMON"
+     
+     rm -rf ./android/abi_gki_protected_exports_*
      perl -pi -e 's/^\s*"protected_exports_list"\s*:\s*"android\/abi_gki_protected_exports_aarch64",\s*$//;' ./BUILD.bazel