瀏覽代碼

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