mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-06 04:44:33 +01:00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
29 lines
926 B
YAML
29 lines
926 B
YAML
# SPDX-License-Identifier: GPL-3.0-only
|
|
# (JIANT) the Android probe (android/probe), built on every push that touches it: the APK as a workflow artifact. On
|
|
# main the site's workflow (emulator.yml) also publishes it next to the installer (app/jiant-probe.apk).
|
|
name: android
|
|
on:
|
|
push:
|
|
paths: ["android/**", ".github/workflows/android.yml"]
|
|
workflow_dispatch:
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
probe:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-java@v4
|
|
with:
|
|
distribution: temurin
|
|
java-version: "17"
|
|
- uses: gradle/actions/setup-gradle@v4
|
|
with:
|
|
gradle-version: "8.9"
|
|
- name: the APK
|
|
run: gradle -p android/probe assembleDebug --no-daemon
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: jiant-probe
|
|
path: android/probe/app/build/outputs/apk/debug/app-debug.apk
|