File tree Expand file tree Collapse file tree 4 files changed +9
-13
lines changed Expand file tree Collapse file tree 4 files changed +9
-13
lines changed Original file line number Diff line number Diff line change 66
66
67
67
- name : Install dependencies
68
68
run : pnpm install
69
- # - name: Fix gradle error
70
- # run: pnpm exec zx scripts/fix-gradle.mjs
71
69
72
70
# # configure cash for gradle : will help to reduce build time
73
71
- uses : actions/cache@v4
Original file line number Diff line number Diff line change 48
48
49
49
- name : Install dependencies
50
50
run : npm install --force
51
- # - name: Fix gradle error
52
- # run: npx zx scripts/fix-gradle.mjs
53
51
54
52
# # configure cash for gradle : will help to reduce build time
55
53
- uses : actions/cache@v4
Original file line number Diff line number Diff line change 66
66
67
67
- name : Install dependencies
68
68
run : pnpm install
69
- # - name: Fix gradle error
70
- # run: pnpm exec zx scripts/fix-gradle.mjs
71
69
72
70
# # configure cash for gradle : will help to reduce build time
73
71
- uses : actions/cache@v4
101
99
102
100
# # sign generated apk
103
101
- name : Sign APK
104
- id : sign_app_apk
105
102
uses : r0adkll/sign-android-release@v1
106
103
with :
107
104
releaseDirectory : android/app/build/outputs/apk/release
@@ -133,8 +130,16 @@ jobs:
133
130
cd android
134
131
./gradlew clean
135
132
./gradlew assembleRelease --no-daemon --warning-mode all
133
+ - name : Sign APK
134
+ uses : r0adkll/sign-android-release@v1
135
+ with :
136
+ releaseDirectory : android/app/build/outputs/apk/release
137
+ signingKeyBase64 : ${{ secrets.ANDROID_SIGNING_KEY }}
138
+ alias : ${{ secrets.ANDROID_ALIAS }}
139
+ keyStorePassword : ${{ secrets.ANDROID_KEY_STORE_PASSWORD }}
140
+ keyPassword : ${{ secrets.ANDROID_KEY_PASSWORD }}
136
141
- name : Rename Development Build APK
137
- run : mv android/app/build/outputs/apk/release/app-release-unsigned .apk android/app/build/outputs/apk/release/app-release-dev-client.apk
142
+ run : mv android/app/build/outputs/apk/release/app-release-signed .apk android/app/build/outputs/apk/release/app-release-dev-client.apk
138
143
- name : Create Release
139
144
uses : softprops/action-gh-release@v1
140
145
if : startsWith(github.ref, 'refs/tags/')
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments