File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
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
79+ if : github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'push' || github.event_name == 'workflow_dispatch'
8080 id : sign_app
8181 with :
8282 releaseDirectory : app/build/outputs/apk/release
@@ -88,14 +88,14 @@ jobs:
8888 BUILD_TOOLS_VERSION : " 35.0.0"
8989
9090 - name : Rename APK
91- if : github.repository == github. event.pull_request.head.repo.full_name
91+ if : github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'push' || github.event_name == 'workflow_dispatch'
9292 run : |
9393 ls -al app/build/outputs/apk/release
9494 echo "Signed APK: ${{steps.sign_app.outputs.signedReleaseFile}}"
9595 cp ${{steps.sign_app.outputs.signedReleaseFile}} KernelFlasher_${{ env.NEW_VERSION_CODE }}.apk
9696
9797 - name : Rename APK
98- if : github.repository != github.event.pull_request.head.repo.full_name
98+ if : github.repository != github.event.pull_request.head.repo.full_name && github.event_name == 'pull_request'
9999 run : |
100100 ls -al app/build/outputs/apk/release
101101 cp ./app/build/outputs/apk/release/app-release-unsigned.apk KernelFlasher_${{ env.NEW_VERSION_CODE }}.apk
You can’t perform that action at this time.
0 commit comments