Skip to content

Commit 11addb9

Browse files
authored
feat: add KSU and SUSFS branch/commit to build summary (WildKernels#71)
Include the exact branch/commit used for KernelSU-Next and SUSFS in summary.txt and also link in GitHub Step Summary.
1 parent 9408a01 commit 11addb9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/actions/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,9 @@ runs:
521521
echo "Kernel full: ${{ env.KERNEL_FULL_VER }}"
522522
echo "Kernel Uname: ${{ env.KERNEL_UNAME }}"
523523
echo "KSU Version: ${KSUVER:-unknown}"
524+
echo "KSU branch/commit: ${{ inputs.ksun_branch || 'stable' }}"
524525
echo "SUSFS Version: ${SUSVER:-unknown}"
526+
echo "SUSFS branch/commit: ${{ inputs.susfs_commit_hash_or_branch || env.SUSFS_KERNEL_BRANCH }}"
525527
echo "Optimization: ${{ inputs.optimize_level }}"
526528
echo "Image SHA256: ${{ steps.collect_stats.outputs.image_sha256 }}"
527529
echo "Compiler: ${CLANG_VERSION:-unknown}"
@@ -535,7 +537,9 @@ runs:
535537
echo "- Kernel Version: ${{ steps.save_metadata.outputs.kernel_version }}"
536538
echo "- Kernel Uname: ${{ env.KERNEL_UNAME }}"
537539
echo "- KSU Version: ${KSUVER:-unknown}"
540+
echo "- KSU branch/commit: [${{ inputs.ksun_branch || 'stable' }}](https://github.com/KernelSU-Next/KernelSU-Next/tree/${{ inputs.ksun_branch || 'stable' }})"
538541
echo "- SUSFS Version: ${SUSVER:-unknown }"
542+
echo "- SUSFS branch/commit: [${{ inputs.susfs_commit_hash_or_branch || env.SUSFS_KERNEL_BRANCH }}](https://gitlab.com/simonpunk/susfs4ksu/-/tree/${{ inputs.susfs_commit_hash_or_branch || env.SUSFS_KERNEL_BRANCH }})"
539543
echo "- Optimization: ${{ inputs.optimize_level }}"
540544
echo "- Image SHA256: ${{ steps.collect_stats.outputs.image_sha256 }}"
541545
echo "- Warnings Count: ${{ steps.collect_stats.outputs.warnings_count }}"

0 commit comments

Comments
 (0)