Skip to content

Merge branch 'main' of github.com:caoccao/JavetShell #83

Merge branch 'main' of github.com:caoccao/JavetShell

Merge branch 'main' of github.com:caoccao/JavetShell #83

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:
- "**.md"
- "docs/**"
- "console/**"
push:
paths-ignore:
- "**.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/gradle-build-action@v3
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