Skip to content

Commit

Permalink
Create build-android-app.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hoc081098 authored Nov 21, 2023
1 parent 5be6a81 commit ab6d0c3
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build-android-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build Android App CI

on:
push:
branches: [ main ]
paths-ignore: [ '**.md', '**.MD' ]
pull_request:
branches: [ main ]
paths-ignore: [ '**.md', '**.MD' ]
workflow_dispatch:

env:
CI: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-home-cache-cleanup: true

- name: Make gradlew executable
run: chmod +x ./gradlew

- name: Build Desktop App
run: ./gradlew :androidApp:assembleDebug --warning-mode all --stacktrace

0 comments on commit ab6d0c3

Please sign in to comment.