Skip to content

Commit 5021fd9

Browse files
authored
Create buid-preprod
1 parent 2330e01 commit 5021fd9

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/buid-preprod

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build PreProd APK
2+
3+
on:
4+
push:
5+
branches: ["**"]
6+
pull_request:
7+
branches: ["**"]
8+
9+
jobs:
10+
build-preprod:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
17+
- name: Set up JDK 17
18+
uses: actions/setup-java@v4
19+
with:
20+
distribution: 'temurin'
21+
java-version: 17
22+
23+
- name: Grant permission to Gradle
24+
run: chmod +x ./gradlew
25+
26+
- name: Build PreProd APK
27+
run: ./gradlew assemblePreProd
28+
29+
- name: Upload PreProd APK
30+
uses: actions/upload-artifact@v4
31+
with:
32+
name: app-preprod-apk
33+
path: app/build/outputs/apk/preProd/*.apk

0 commit comments

Comments
 (0)