File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - ' *'
77 paths :
88 - ' android/**'
9+ pull_request :
10+ paths :
11+ - ' android/**'
12+ workflow_dispatch :
13+ inputs :
14+ branch :
15+ description : Branch to build
16+ required : true
17+ default : main
918 workflow_call :
1019
1120jobs :
1726 - uses : actions/checkout@v4
1827 with :
1928 submodules : true
29+ ref : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.branch || github.ref }}
2030 - uses : actions/setup-java@v4
2131 with :
2232 distribution : zulu
3343 - name : Create local.properties
3444 run : |
3545 cat <<EOF > android/local.properties
36- RELEASE_STORE_FILE=release.keystore
46+ RELEASE_STORE_FILE=../ release.keystore
3747 RELEASE_STORE_PASSWORD=${{ secrets.RELEASE_STORE_PASSWORD }}
3848 RELEASE_KEY_ALIAS=${{ secrets.RELEASE_KEY_ALIAS }}
3949 RELEASE_KEY_PASSWORD=${{ secrets.RELEASE_KEY_PASSWORD }}
4959 path : release/*
5060
5161 release :
62+ if : github.event_name == 'push'
5263 runs-on : ubuntu-latest
5364 needs : build
5465 permissions :
You can’t perform that action at this time.
0 commit comments