Skip to content

Commit

Permalink
feat: Create GitHub action for building debug and release demo-app apk
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentKobz committed May 27, 2024
1 parent 9e29afc commit 29cdd37
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/android-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Android Build and Release

on:
push:
branches:
- '*'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up environment
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- name: Gradle cache
uses: gradle/actions/setup-gradle@v3
- name: Build APK debug
run: ./gradlew assembleDebug
- name: Build APK release
run: ./gradlew assembleRelease
- name: Upload debug apk
uses: actions/upload-artifact@v2
with:
name: enioka_scan_demo_apks
path: |
./app/build/outputs/apk/release/app-release.apk
./app/build/outputs/apk/debug/app-debug.apk

0 comments on commit 29cdd37

Please sign in to comment.