Skip to content
This repository was archived by the owner on May 17, 2025. It is now read-only.

Commit 90488fa

Browse files
authored
Merge pull request #5 from alyssamartinus/main
workflow
2 parents e9e20af + 6604d30 commit 90488fa

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/blank.yml

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

0 commit comments

Comments
 (0)