Skip to content

🐎 ci: Split console builds by os, arch #90

🐎 ci: Split console builds by os, arch

🐎 ci: Split console builds by os, arch #90

Workflow file for this run

name: Android Build
concurrency:
group: android_build_${{ github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- .github/**
- "!.github/workflows/android_build.yml"
- "**.md"
- "docs/**"
- "console/**"
push:
paths-ignore:
- .github/**
- "!.github/workflows/android_build.yml"
- "**.md"
- "docs/**"
- "console/**"
jobs:
build_apk:
strategy:
matrix:
include:
- mode: node
- mode: v8
name: Build APK for ${{ matrix.mode }}
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: Setup JDK 17
uses: actions/setup-java@v4
with:
distribution: corretto
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: 8.5
- name: Build the Artifact
run: |
cd android_${{ matrix.mode }}
gradle build --debug
- name: Upload the Artifact
uses: actions/upload-artifact@v4
with:
name: javet-shell-android-${{ matrix.mode }}
path: android_${{ matrix.mode }}/app/build/outputs/apk/release/*.apk