Skip to content

Android CI

Android CI #5

Workflow file for this run

name: Android CI
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew clean aDebug
# 打包完成之后进行上传
- uses: actions/upload-artifact@v4
with:
path: chat/build/outputs/apk/debug/chat-debug.apk