Skip to content

Commit 57abc2f

Browse files
authored
Merge pull request #1 from nbschultz97/codex/update-android-ci-workflow-for-builds
2 parents d0e181c + 00828cf commit 57abc2f

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

.github/workflows/android-ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
name: Android CI
3+
4+
'on':
5+
push:
6+
branches: [main]
7+
pull_request:
8+
branches: [main]
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Set up JDK 17
17+
uses: actions/setup-java@v3
18+
with:
19+
distribution: temurin
20+
java-version: '17'
21+
cache: 'gradle'
22+
23+
- name: Set up Android SDK
24+
uses: android-actions/setup-android@v3
25+
with:
26+
api-levels: 34
27+
build-tools: '34.0.0'
28+
29+
- name: Build Debug APK
30+
run: ./gradlew assembleDebug
31+
32+
- name: Upload Debug APK
33+
uses: actions/upload-artifact@v4
34+
with:
35+
name: app-debug-apk
36+
path: app/build/outputs/apk/debug/app-debug.apk

0 commit comments

Comments
 (0)