소스 검색

Add step to clone nomount repo in action.yml

Added a step to clone the nomount repository before applying the patch and updated the defconfig handling.
jimsterino98 1 개월 전
부모
커밋
74dafbe4c5
1개의 변경된 파일8개의 추가작업 그리고 3개의 파일을 삭제
  1. 8 3
      .github/actions/nomount/action.yml

+ 8 - 3
.github/actions/nomount/action.yml

@@ -8,6 +8,13 @@ inputs:
 runs:
   using: composite
   steps:
+   - name: clone nomount repo
+     shell: bash
+     run: |
+      git clone https://github.com/maxsteeel/nomount.git -b dev
+      NOMOUNT="$ROOT/nomount"
+      echo "NOMOUNT=$NOMOUNT" >> $GITHUB_ENV
+      
    - name: apply nomount patch
      shell: bash
      run: |
@@ -25,6 +32,4 @@ runs:
    - name: add to defconfig
      shell: bash
      run: |
-      cat >> "$GKI_DEFCONFIG" << 'EOF'
-      CONFIG_NOMOUNT=y
-      EOF
+      "$COMMON/scripts/config" --file "$GKI_DEFCONFIG" --enable CONFIG_NOMOUNT