Selaa lähdekoodia

Add action to download Samsung kernels

jimsterino98 4 kuukautta sitten
vanhempi
sitoutus
588455e774
1 muutettua tiedostoa jossa 15 lisäystä ja 0 poistoa
  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