CI: make build_stable build on tag rel #28
Workflow file for this run
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_stable (KSU) | ||
on: | ||
push: | ||
tags: | ||
- '*' | ||
workflow_dispatch: | ||
jobs: | ||
build: | ||
runs-on: ubuntu-24.04 | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
device: [m21, m31, m31s, f41] | ||
ksu: [1] | ||
old: [0, 1] | ||
name: "🚧 Build for ${{matrix.device}} KSU=${{matrix.ksu}} OLD=${{matrix.old}}" | ||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
- uses: szenius/[email protected] | ||
with: | ||
timezoneLinux: "Asia/Kolkata" | ||
- name: Setup Toolchains | ||
run: | | ||
sudo apt update | ||
sudo apt install bison flex libssl-dev libarchive-tools -y | ||
mkdir -p toolchain | ||
cd toolchain | ||
echo 'Download antman and sync' | ||
bash <(curl -s "https://raw.githubusercontent.com/Neutron-Toolchains/antman/main/antman") -S=05012024 | ||
echo 'Done' | ||
- name: Run build | ||
run: | | ||
DEVICE=${{matrix.device}} KSU=${{matrix.ksu}} OLD=${{matrix.old}} ./build.sh | ||
- name: Upload kernel | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: N_kernel-${{matrix.device}}_${{old}}_Clang_18 | ||
Check failure on line 46 in .github/workflows/build_stable.yml GitHub Actions / build_stable (KSU)Invalid workflow file
|
||
path: AnyKernel3/N*.zip | ||
- name: Upload to Telegram | ||
uses: appleboy/telegram-action@master | ||
with: | ||
to: ${{ secrets.TELEGRAM_CHAT_ID }} | ||
token: ${{ secrets.TELEGRAM_BOT_TOKEN }} | ||
document: AnyKernel3/N*.zip | ||
message: "Build COmpleted" |