Ver código fonte

fix(action): update bazel patch to replace py3-cmd with system python3 path

Co-authored-by: Copilot <copilot@github.com>
TheWildJames 4 meses atrás
pai
commit
1616acbb00
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      .github/workflows/build.yml

+ 2 - 1
.github/workflows/build.yml

@@ -81,9 +81,10 @@ jobs:
         os_patch_level: ${{ steps.parse.outputs.os_patch_level }}
 
 
+
     - name: Patch tools/bazel to use system python3 on ARM
       run: |
-        sed -i 's|exec ".*py3-cmd.*" "$MYDIR"/bazel.py "$@"|exec /usr/bin/python3 "$MYDIR"/bazel.py "$@"|' ${{ github.workspace }}/kernel/tools/bazel || true
+        sed -i 's|prebuilts/build-tools/linux_musl-x86/bin/py3-cmd|/usr/bin/python3|g' ${{ github.workspace }}/kernel/tools/bazel || true
 
     - name: Grep for vm_flags_clear after download
       run: |