Skip to content

Easycontrol_For_Car

Easycontrol_For_Car #1

name: Easycontrol_For_Car
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build the app
working-directory: ./easycontrol
run: |
chmod +x gradlew
./gradlew :server:copyRelease --stacktrace
./gradlew :app:assembleDebug --stacktrace
- name: Upload APK
uses: actions/upload-artifact@v2
with:
name: my-build-apk
path: ./easycontrol/app/build/outputs/apk/debug/*.apk