Bladeren bron

Refactor action.yml to use environment variables

Updated action.yml to use environment variables for kernel and android versions instead of inputs.
jimsterino98 1 maand geleden
bovenliggende
commit
01c415da55
1 gewijzigde bestanden met toevoegingen van 1 en 8 verwijderingen
  1. 1 8
      .github/actions/bbrv3/action.yml

+ 1 - 8
.github/actions/bbrv3/action.yml

@@ -1,12 +1,5 @@
 name: add bbrv3 AND bbrv1
 description: enable configs to add bbrv3 and v1 to kernel
-inputs:
- kernel_version:
-  description: 'version of kernel'
-  required: true
- android_version:
-  description: 'android version of kernel'
-  required: true
 
 runs:
  using: composite
@@ -15,7 +8,7 @@ runs:
     shell: bash
     run: |
      cd "$COMMON"
-     patch -p1 < "$KERNEL_PATCHES/common/bbrv3/0001-net-tcp-backport-BBRv3-to-${{ inputs.android_version }}-${{ inputs.kernel_version }}.patch"
+     patch -p1 < "$KERNEL_PATCHES/common/bbrv3/0001-net-tcp-backport-BBRv3-to-$ANDROID_VERSION-$KERNEL_VERSION.patch"
      
   - name: add bbr configs to defconfig
     shell: bash