Explorar o código

Add step to apply static patch for KernelSU-Next

Add a step to fix KernelSU-Next by applying a patch.
jimsterino98 hai 3 meses
pai
achega
17a340e9e0
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      .github/actions/ksun/action.yml

+ 8 - 0
.github/actions/ksun/action.yml

@@ -73,3 +73,11 @@ runs:
         echo "KSU_GIT_TAG=$KSU_GIT_TAG" >> $GITHUB_ENV
         echo "KSU_VERSION=$KSU_VERSION" >> $GITHUB_ENV
         echo "KSU_COMMIT=$KSU_COMMIT" >> $GITHUB_ENV
+
+    - name: 'Fix KernelSU-Next'
+      shell: bash
+      run: |
+        set -euo pipefail
+        cd "$COMMON/KernelSU-Next"
+        cp ${{ github.action_path }}/patches/static.patch ./
+        patch -p1 < static.patch