Skip to content

Commit 0cbbe03

Browse files
committed
ci: Add GitHub Actions workflow for building and releasing Android APK.
1 parent 887bf23 commit 0cbbe03

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,7 @@ jobs:
5858
- name: Install dependencies
5959
run: npm install
6060

61-
- name: Verify patches applied
62-
run: npx patch-package
63-
64-
- name: Build Android Release Bundle
61+
- name: Build Android Release APK
6562
run: npx react-native build-android --mode=release
6663

6764
- name: Setup bundletool
@@ -80,6 +77,7 @@ jobs:
8077
--key-pass=pass:123456
8178
mkdir -p android/app/build/outputs/apk/release
8279
unzip -p app.apks universal.apk > android/app/build/outputs/apk/release/app-release.apk
80+
8381
8482
8583
apk:
@@ -127,12 +125,10 @@ jobs:
127125
- name: Install dependencies
128126
run: npm install
129127

130-
- name: Verify patches applied
131-
run: npx patch-package
132-
133-
- name: Build Android Release Bundle
128+
- name: Build Android Release APK
134129
run: npx react-native build-android --mode=release
135130

131+
136132
- name: Setup bundletool
137133
run: |
138134
curl -L -o bundletool.jar https://github.com/google/bundletool/releases/download/1.15.6/bundletool-all-1.15.6.jar
@@ -148,7 +144,7 @@ jobs:
148144
--ks-key-alias=debug \
149145
--key-pass=pass:123456
150146
mkdir -p android/app/build/outputs/apk/release
151-
unzip -p app.apks universal.apk > android/app/build/outputs/apk/release/app-release.apk
147+
unzip -p app.apks universal.apk > android/app/build/outputs/apk/release/app-release.apk
152148
153149
- name: Upload APK
154150
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)