소스 검색

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

Co-authored-by: Copilot <copilot@github.com>
TheWildJames 4 달 전
부모
커밋
1616acbb00
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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: |