Skip to content

Commit 3424766

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents c5cb686 + 08efd76 commit 3424766

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/android.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Android CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: set up JDK 21
17+
uses: actions/setup-java@v4
18+
with:
19+
java-version: '21'
20+
distribution: 'temurin'
21+
cache: gradle
22+
23+
- name: Grant execute permission for gradlew
24+
run: chmod +x gradlew
25+
- name: Build with Gradle
26+
run: ./gradlew clean test build
27+
- name: Upload a Build Artifact
28+
uses: actions/[email protected]
29+
with:
30+
# Artifact name
31+
name: app.apk
32+
# A file, directory or wildcard pattern that describes what to upload
33+
path: ./app/build/outputs/apk/debug/app-debug.apk

0 commit comments

Comments
 (0)