Browse Source

Add action to download Samsung kernels

jimsterino98 4 months ago
parent
commit
588455e774
1 changed files with 15 additions and 0 deletions
  1. 15 0
      .github/actions/clone-kernel/action.yml

+ 15 - 0
.github/actions/clone-kernel/action.yml

@@ -0,0 +1,15 @@
+name: 'Download Samsung Kernels'
+description: "initialize and download the samsung kernel"
+
+inputs:
+  branch:
+    description: 'Device Kernel branch'
+    required: true
+
+runs:
+ using: composite
+ steps:
+   - name: Clone Kernel Source
+     shell: bash
+     run: |
+      git clone --depth 1 -b ${{ inputs.branch }} --single-branch https://github.com/WildKernels/Samsung_Kernels.git $CONFIG