소스 검색

Refactor branch input handling in clone action

Updated the action to use a variable for the branch name.
jimsterino98 1 개월 전
부모
커밋
fcf8d2117e
1개의 변경된 파일1개의 추가작업 그리고 6개의 파일을 삭제
  1. 1 6
      .github/actions/clone-kernel/action.yml

+ 1 - 6
.github/actions/clone-kernel/action.yml

@@ -1,15 +1,10 @@
 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
+      git clone --depth 1 -b $BRANCH --single-branch https://github.com/WildKernels/Samsung_Kernels.git $CONFIG