Skip to content

Remove clientapp/windows. #468

Remove clientapp/windows.

Remove clientapp/windows. #468

name: Build TgBot++ Client (Android)
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
env:
# Customize the Java version needed for your project here
JAVA_VERSION: '17'
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Set up JDK ${{ env.JAVA_VERSION }}
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: ${{ env.JAVA_VERSION }}
- name: Prepare Gradle Cache
uses: actions/[email protected]
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Set up Android SDK
uses: android-actions/[email protected]
- name: Grant execute permission for gradlew
run: chmod +x clientapp/android/gradlew
- name: Check submodules
run: git submodule update --init --recursive
- name: Build with Gradle
run: |
cd clientapp/android
./gradlew --no-daemon build
- name: Upload build artifacts
uses: actions/[email protected]
with:
name: app-build
path: |
clientapp/android/app/build/outputs/apk/