File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 76
76
77
77
78
78
name : Sign app APK
79
+ if : github.repository == github.event.pull_request.head.repo.full_name
79
80
id : sign_app
80
81
with :
81
82
releaseDirectory : app/build/outputs/apk/release
@@ -87,11 +88,18 @@ jobs:
87
88
BUILD_TOOLS_VERSION : " 35.0.0"
88
89
89
90
- name : Rename APK
91
+ if : github.repository == github.event.pull_request.head.repo.full_name
90
92
run : |
91
93
ls -al app/build/outputs/apk/release
92
94
echo "Signed APK: ${{steps.sign_app.outputs.signedReleaseFile}}"
93
95
cp ${{steps.sign_app.outputs.signedReleaseFile}} KernelFlasher_${{ env.NEW_VERSION_CODE }}.apk
94
96
97
+ - name : Rename APK
98
+ if : github.repository != github.event.pull_request.head.repo.full_name
99
+ run : |
100
+ ls -al app/build/outputs/apk/release
101
+ cp ./app/build/outputs/apk/release/app-release-unsigned.apk KernelFlasher_${{ env.NEW_VERSION_CODE }}.apk
102
+
95
103
- name : Upload APK
96
104
97
105
with :
You can’t perform that action at this time.
0 commit comments