소스 검색

Limit cherry-pick to last two commits

jimsterino98 2 달 전
부모
커밋
54d8474177
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      .github/actions/dependencies/action.yml

+ 1 - 1
.github/actions/dependencies/action.yml

@@ -35,7 +35,7 @@ runs:
       git clone https://gitlab.com/simonpunk/susfs4ksu.git -b "$SUSFS_BRANCH"
       cd susfs4ksu
       git fetch https://gitlab.com/pershoot/susfs4ksu.git gki-android14-6.1-dev
-      git log ..FETCH_HEAD --oneline | awk '{print $1}' | tac | xargs git cherry-pick
+      git log ..FETCH_HEAD --oneline -n 2 | awk '{print $1}' | tac | xargs git cherry-pick
      
       #cd susfs4ksu
       #if [[ "${{ inputs.android_version }}-${{ inputs.kernel_version }}" == "android12-5.10" ]]; then