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 7676
77777878 name : Sign app APK
79+ if : github.repository == github.event.pull_request.head.repo.full_name
7980 id : sign_app
8081 with :
8182 releaseDirectory : app/build/outputs/apk/release
@@ -87,11 +88,18 @@ jobs:
8788 BUILD_TOOLS_VERSION : " 35.0.0"
8889
8990 - name : Rename APK
91+ if : github.repository == github.event.pull_request.head.repo.full_name
9092 run : |
9193 ls -al app/build/outputs/apk/release
9294 echo "Signed APK: ${{steps.sign_app.outputs.signedReleaseFile}}"
9395 cp ${{steps.sign_app.outputs.signedReleaseFile}} KernelFlasher_${{ env.NEW_VERSION_CODE }}.apk
9496
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+
95103 - name : Upload APK
9610497105 with :
You can’t perform that action at this time.
0 commit comments