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

ci(networking): switch to local BBRv3 patch files

TheWildJames пре 4 месеци
родитељ
комит
3d33d32e34
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      .github/actions/networking/action.yml

+ 2 - 2
.github/actions/networking/action.yml

@@ -17,8 +17,8 @@ runs:
       working-directory: ${{ github.workspace }}/kernel/common
       run: |
         set -euo pipefail
-        curl -L -o bbrv3.patch "https://github.com/ahmed-alnassif/GKI-Duchamp/blob/dev/kernel-patches/bbrv3/bbrv3.patch?raw=1"
-        patch -p1 --forward < bbrv3.patch
+        cp -f "${{ github.workspace }}/kernel_patches/bbr/bbrv3-${{ inputs.android_version }}-${{ inputs.kernel_version }}.patch" .
+        patch -p1 < bbrv3-${{ inputs.android_version }}-${{ inputs.kernel_version }}.patch
 
     - name: Fix modules.bzl
       shell: bash