Skip to content

Commit

Permalink
Create android.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nethical6 authored Jun 9, 2024
1 parent ab6b026 commit db2a0cb
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Android CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: '17'

- name: Give permission to executable
run: chmod +x gradlew

- name: Clear build cache
uses: gradle/[email protected]
with:
gradle-version: nightly
arguments: clean

- name: Build with gradle
uses: gradle/[email protected]
with:
gradle-version: nightly
arguments: assembleDevDebug

- name: Upload Debug APK
uses: actions/upload-artifact@v2
with:
name: debug-apk
path: app/build/outputs/apk/debug/app-debug.apk

0 comments on commit db2a0cb

Please sign in to comment.