Skip to content

Commit a525905

Browse files
committed
ci(android): create apk release
1 parent 93b46dc commit a525905

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/pull-request.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,17 @@ jobs:
102102
- name: Setup Android SDK
103103
uses: android-actions/setup-android@v3
104104

105+
- name: Decode Keystore
106+
run: echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > keystore.jks
107+
108+
- name: Decode Properties
109+
run: echo "${{ secrets.KEYSTORE_PROPERTIES_BASE64 }}" | base64 --decode > keystore.properties
110+
105111
- name: Build apk
106-
run: ./gradlew assembleDebug
112+
run: ./gradlew assembleRelease
107113

108114
- name: Upload apk
109115
uses: actions/upload-artifact@v4
110116
with:
111117
name: NeoRegex-android
112-
path: application/build/outputs/apk/debug/*.apk
118+
path: application/build/outputs/apk/release/*.apk

0 commit comments

Comments
 (0)