|
|
@@ -1,6 +1,14 @@
|
|
|
name: 'Prepare AnyKernel3'
|
|
|
description: 'Copies built Image into AnyKernel3 folder'
|
|
|
|
|
|
+inputs:
|
|
|
+ android_version:
|
|
|
+ description: 'Android version (e.g., android13)'
|
|
|
+ required: true
|
|
|
+ kernel_version:
|
|
|
+ description: 'Kernel version (e.g., 5.15)'
|
|
|
+ required: true
|
|
|
+
|
|
|
runs:
|
|
|
using: composite
|
|
|
steps:
|
|
|
@@ -8,6 +16,9 @@ runs:
|
|
|
run: |
|
|
|
set -euo pipefail
|
|
|
|
|
|
+ ANDROID_VERSION="${{ inputs.android_version }}"
|
|
|
+ KERNEL_VERSION="${{ inputs.kernel_version }}"
|
|
|
+
|
|
|
if [ -f "${{ github.workspace }}/kernel/out/$ANDROID_VERSION-$KERNEL_VERSION/dist/Image" ]; then
|
|
|
cp "${{ github.workspace }}/kernel/out/$ANDROID_VERSION-$KERNEL_VERSION/dist/Image" "${{ github.workspace }}/AnyKernel3/Image"
|
|
|
exit 0
|