Skip to content

Commit 61c3a9e

Browse files
committed
Update Build Script
1 parent 8053414 commit 61c3a9e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,13 @@ jobs:
8989
run: |
9090
ls -al app/build/outputs/apk/release
9191
echo "Signed APK: ${{steps.sign_app.outputs.signedReleaseFile}}"
92-
cp ${{steps.sign_app.outputs.signedReleaseFile}} KernelFlasher.apk
92+
cp ${{steps.sign_app.outputs.signedReleaseFile}} KernelFlasher_${{ env.NEW_VERSION_CODE }}.apk
9393
9494
- name: Upload APK
9595
uses: actions/[email protected]
9696
with:
97-
name: KernelFlasher
98-
path: KernelFlasher.apk
97+
name: KernelFlasher_${{ env.NEW_VERSION_CODE }}
98+
path: KernelFlasher_${{ env.NEW_VERSION_CODE }}.apk
9999

100100
# - name: Rename apk
101101
# run: |

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,13 @@ jobs:
120120
run: |
121121
ls -al app/build/outputs/apk/release
122122
echo "Signed APK: ${{steps.sign_app.outputs.signedReleaseFile}}"
123-
cp ${{steps.sign_app.outputs.signedReleaseFile}} KernelFlasher.apk
123+
cp ${{steps.sign_app.outputs.signedReleaseFile}} KernelFlasher_${{ env.NEW_VERSION_NAME }}.apk
124124
125125
- name: Upload APK
126126
uses: actions/[email protected]
127127
with:
128-
name: KernelFlasher
129-
path: KernelFlasher.apk
128+
name: KernelFlasher_${{ env.NEW_VERSION_NAME }}
129+
path: KernelFlasher_${{ env.NEW_VERSION_NAME }}.apk
130130

131131
- name: Upload release
132132
uses: ncipollo/[email protected]

0 commit comments

Comments
 (0)