Skip to content

Commit

Permalink
feat: add the workflow for M1
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienBousquieEPFL committed Oct 17, 2024
1 parent bfad9b1 commit 69b843b
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/android-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build Android APK

on:
push:
branches:
- M1
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

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

- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "17"

- name: Set up Android SDK
uses: android-actions/setup-android@v2
with:
api-level: 34
build-tools: 34.0.0

- name: Build APK
run: ./gradlew assembleRelease

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

0 comments on commit 69b843b

Please sign in to comment.