| 123456789101112131415161718192021 |
- name: 'Prepare AnyKernel3'
- description: 'Copies built Image into AnyKernel3 folder'
- runs:
- using: composite
- steps:
- - shell: bash
- run: |
- set -euo pipefail
- 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
- fi
- if [ -f "${{ github.workspace }}/kernel/bazel-bin/common/kernel_aarch64/Image" ]; then
- cp "${{ github.workspace }}/kernel/bazel-bin/common/kernel_aarch64/Image" "${{ github.workspace }}/AnyKernel3/Image"
- exit 0
- fi
- exit 1
|