|
|
@@ -49,26 +49,18 @@ jobs:
|
|
|
shell: bash
|
|
|
run: |
|
|
|
set -euo pipefail
|
|
|
+ # Verified pins. KernelSU-Next (next) and SUSFS are intentionally NOT
|
|
|
+ # pinned: they always resolve at latest so SUSFS stays API-matched to
|
|
|
+ # the always-latest KernelSU-Next tree.
|
|
|
nomount_commit="c52936b229c25a4b0e41b6627f7d3bc5eaaaf2b5"
|
|
|
ksu_commit="da9abf498a77d438989fea0f5f4e348b9a540c07"
|
|
|
- next_commit="234f6e040fcbca18b16d2398e1aa225712ec99ad"
|
|
|
resukisu_commit="3ef06b0fcb0960dc9563256fe26a58e892663387"
|
|
|
- case "${{ inputs.kernel_build_version }}" in
|
|
|
- android12-5.10) susfs_commit="3c14ad549f826b1f53878ec8c12253efebeed75a" ;;
|
|
|
- android13-5.10) susfs_commit="f81aaf10e9560282052bb61dd931315c2ca3e617" ;;
|
|
|
- android13-5.15) susfs_commit="ccb1918684b27644d17a6c842f57b60ae5966025" ;;
|
|
|
- android14-5.15) susfs_commit="0463ac089308014e8c22cc6a4558e0d6d2a53e08" ;;
|
|
|
- android14-6.1) susfs_commit="e287d59066380bf6de4396532d4a42edf4408701" ;;
|
|
|
- android15-6.6) susfs_commit="be7b7ef49a1e1b189c3abf00eacaa7ebdb4168c1" ;;
|
|
|
- android16-6.12) susfs_commit="f37930f374ef88de990d6abea0c67d0ea28c1edc" ;;
|
|
|
- *) echo "Unsupported GKI target." >&2; exit 2 ;;
|
|
|
- esac
|
|
|
+ susfs_commit="$(git ls-remote https://gitlab.com/simonpunk/susfs4ksu.git "refs/heads/gki-${{ inputs.kernel_build_version }}" | cut -f1)"
|
|
|
+ next_commit="$(git ls-remote https://github.com/KernelSU-Next/KernelSU-Next.git refs/heads/dev | cut -f1)"
|
|
|
if [ "${{ inputs.commit_mode }}" = "latest" ]; then
|
|
|
echo "Resolving latest branch tips..."
|
|
|
- susfs_commit="$(git ls-remote https://gitlab.com/simonpunk/susfs4ksu.git "refs/heads/gki-${{ inputs.kernel_build_version }}" | cut -f1)"
|
|
|
nomount_commit="$(git ls-remote https://github.com/maxsteeel/nomount.git refs/heads/dev | cut -f1)"
|
|
|
ksu_commit="$(git ls-remote https://github.com/tiann/KernelSU.git refs/heads/main | cut -f1)"
|
|
|
- next_commit="$(git ls-remote https://github.com/KernelSU-Next/KernelSU-Next.git refs/heads/dev | cut -f1)"
|
|
|
resukisu_commit="$(git ls-remote https://github.com/ReSukiSU/ReSukiSU.git refs/heads/main | cut -f1)"
|
|
|
fi
|
|
|
echo "config_file=.github/config/${{ inputs.kernel_build_version }}.json" >> "$GITHUB_OUTPUT"
|