mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-09-19 04:59:59 +00:00
ci: Add GitHub Actions workflow to build OpenClaw integration APK
Uses GitHub Actions' configured Android SDK (proven to work for this repo). Builds debug APK on ubuntu-latest runner. Uploads APK to artifacts for download. Target branch: feature/openclaw-integration
This commit is contained in:
parent
d2abdb69cf
commit
dd4be385bd
36
.github/workflows/build-openclaw-now.yml
vendored
Normal file
36
.github/workflows/build-openclaw-now.yml
vendored
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
name: Build OpenClaw APK
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ feature/openclaw-integration ]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout Code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: feature/openclaw-integration
|
||||||
|
|
||||||
|
- name: Set up JDK 17
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
java-version: '17'
|
||||||
|
distribution: 'temurin'
|
||||||
|
|
||||||
|
- name: Make gradlew executable
|
||||||
|
run: chmod +x gradlew
|
||||||
|
|
||||||
|
- name: Build Debug APK
|
||||||
|
run: |
|
||||||
|
./gradlew assembleDebug --console=plain
|
||||||
|
|
||||||
|
- name: Upload APK Artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: openclaw-debug-apk
|
||||||
|
path: app/build/outputs/apk/debug/*.apk
|
||||||
|
retention-days: 7
|
||||||
Loading…
x
Reference in New Issue
Block a user