Skip to content

Commit

Permalink
Create generate_apk.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
imranq2 authored Dec 15, 2023
1 parent ca4ed76 commit 69ff074
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/generate_apk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Android CI

on:
workflow_dispatch:
release:
types: [created]
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'

- name: Grant execute permission for gradlew
run: chmod +x ./gradlew

- name: Build Debug APK
run: ./gradlew assembleDebug

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

0 comments on commit 69ff074

Please sign in to comment.