workflows: fix wrong id name #60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Redmi 5 Lineaged kernel (Lineaged Base 2 KSU - AOSP) | |
on: | |
push: | |
branches: | |
- 'lineagedksu' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Set start time | |
id: start-time | |
run: | | |
echo "START=$(date +'%s')" >> $GITHUB_ENV | |
echo "DATE=$(date +'%F')" >> $GITHUB_ENV | |
- name: Checkout kernel source | |
uses: actions/checkout@v2 | |
- name: Checkout stable ksu | |
id: curl-latest-ksu | |
run: | | |
cd /home/runner/work/xiaomi_rosy_kernel/xiaomi_rosy_kernel | |
rm -rf KernelSU | |
curl -LSs "https://raw.githubusercontent.com/tiann/KernelSU/main/kernel/setup.sh" | bash - | |
- name: Checkout zipper | |
uses: actions/checkout@v2 | |
with: | |
repository: SantriKode/AnyKranul3 | |
path: zipper | |
- name: Android kernel build | |
if: ${{ success() }} | |
uses: SantriKode/arm64-kernel-actions@master | |
id: build | |
env: | |
NAME: Lineaged_KernelSU_LOS21_AOSP | |
with: | |
arch: arm64 | |
compiler: aosp-clang/main/clang-r522817/binutils | |
defconfig: rosy-perf_defconfig | |
image: Image.gz-dtb | |
- name: Save compile time | |
id: save-compile-time | |
run: | | |
END=$(date +'%s') | |
BEDA=$((END - START)) | |
MENIT=$((BEDA / 60)) | |
DETIK=$((BEDA % 60)) | |
echo "MENIT=$MENIT" >> $GITHUB_ENV | |
echo "DETIK=$DETIK" >> $GITHUB_ENV | |
- name: Release build (Telegram) | |
if: ${{ success() }} | |
uses: appleboy/telegram-action@master | |
with: | |
to: ${{ secrets.PRIVATE_ID }} | |
token: ${{ secrets.TELEGRAM_SECRET }} | |
format: html | |
document: ${{ steps.build.outputs.outfile }} | |
message: > | |
<strong>Kernel Lineaged - Base 2 KernelSU</strong> telah dibuat pada repo ${{ github.repository }} dengan <strong>Compiler AOSP Google</strong> | |
Waktu Kompilasi :. ${{ env.MENIT }} menit dan ${{ env.DETIK }} detik | |
Tanggal Kompilasi :. ${{ env.DATE }} | |
Jenis Kernel :. KernelSU v0.9.2 | |
Versi Lineage :. <b>Lineage 21 Only</b> | |
Hash Commits :. <code>${{ github.sha }}</code> | |
Untuk informasi lebih bisa membuka github repository <a href="https://www.github.com/naups/xiaomi_rosy_kernel/commits/${{ github.sha }}">naups</a>. |