Ver código fonte

fix: correct patch command syntax in build kernel action

TheWildJames 3 meses atrás
pai
commit
4a13f7410b
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      .github/actions/build-kernel/action.yml

+ 1 - 1
.github/actions/build-kernel/action.yml

@@ -123,6 +123,6 @@ runs:
       set -euo pipefail
       PATCH_FILE="${{ github.action_path }}/patches/bypass.patch"
       if [ -f "$PATCH_FILE" ]; then
-        patch -d "${{ github.workspace }}/AnyKernel3" -p1 < "$PATCH_FILE"
+        patch -p1 -d "${{ github.workspace }}/AnyKernel3" -p1 < "$PATCH_FILE"
       fi