| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- name: 'Setup SUSFS Branch'
- description: 'Clone SUSFS repo and cherry-pick commits'
- inputs:
- susfs_commit:
- description: 'SUSFS commit hash (empty = latest on auto-derived gki-{version} branch)'
- required: false
- default: ""
- version:
- description: 'Kernel config version (e.g., android15-6.6)'
- required: true
- runs:
- using: "composite"
- steps:
- - name: Clone SUSFS Branch
- shell: bash
- run: |
- set -euo pipefail
- SUSFS_BRANCH="gki-${{ inputs.version }}"
- SUSFS_REPO="https://gitlab.com/simonpunk/susfs4ksu.git"
- echo "Preparing SUSFS for branch: $SUSFS_BRANCH"
- echo "Cloning latest from $SUSFS_BRANCH..."
- git clone "$SUSFS_REPO" -b "$SUSFS_BRANCH" susfs4ksu
- if [ -n "${{ inputs.susfs_commit }}" ]; then
- echo "Checking out SUSFS commit: ${{ inputs.susfs_commit }}"
- cd ${{ github.workspace }}/susfs4ksu
- git checkout "${{ inputs.susfs_commit }}"
- fi
- cd susfs4ksu
- COMMIT1="8d2420be13e43d4cc0d80215d08ed475081a1404"
- COMMIT2="ee71ca33d08710d686f2bdba27cacefe9e615fb9"
- git remote add pershoot https://gitlab.com/pershoot/susfs4ksu.git
- git fetch pershoot gki-android14-6.1-dev
- git cherry-pick "$COMMIT1"
- git cherry-pick "$COMMIT2"
|