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 1f5bfd5
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/android-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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: enioka_scan/build/outputs/apk

0 comments on commit 1f5bfd5

Please sign in to comment.