File tree Expand file tree Collapse file tree 5 files changed +24
-13
lines changed
Expand file tree Collapse file tree 5 files changed +24
-13
lines changed Original file line number Diff line number Diff line change 1313 description : " Checkout the project with git lfs"
1414 type : boolean
1515 default : false
16- workflow_dispatch :
16+ upload-apk :
17+ description : " Upload the apk to the Apps @ QuickBird"
18+ type : boolean
19+ default : false
1720
1821concurrency :
1922 group : ${{ github.workflow }}-${{ github.ref }}
6467 - name : Generate APK
6568 shell : bash
6669 run : ./gradlew assembleRelease
70+ - name : " Publishing to apps.quickbirdstudios.com"
71+ if : ${{ inputs.upload-apk == 'true' }}
72+ uses : QuickBirdEng/actions/qb-publish@main
73+ with :
74+ upload-key : ${{ secrets.UPLOAD_KEY }}
75+ file : app/build/outputs/apk/release/app-release.apk
Original file line number Diff line number Diff line change 1313 description : " Checkout the project with git lfs"
1414 type : boolean
1515 default : false
16- workflow_dispatch :
16+ upload-apk :
17+ description : " Upload the apk to the Apps @ QuickBird"
18+ type : boolean
19+ default : false
1720
1821concurrency :
1922 group : ${{ github.workflow }}-${{ github.ref }}
6063 - name : Generate APK
6164 shell : bash
6265 run : ./gradlew assembleRelease
66+ - name : " Publishing to apps.quickbirdstudios.com"
67+ if : ${{ inputs.upload-apk }}
68+ uses : QuickBirdEng/actions/qb-publish@main
69+ with :
70+ upload-key : ${{ secrets.UPLOAD_KEY }}
71+ file : app/build/outputs/apk/release/app-release.apk
Original file line number Diff line number Diff line change 3434 uses : QuickBirdEng/workflows/.github/workflows/android-common.yml@main
3535 with :
3636 build-number : ${{ needs.generate-build-number.outputs.build-number }}
37+ upload-apk : true
3738 secrets : inherit
3839
39- publish-apps-qb :
40- runs-on : [self-hosted, Linux]
41- needs : [branch]
42- steps :
43- - name : " Publishing to apps.quickbirdstudios.com"
44- uses : QuickBirdEng/actions/qb-publish@main
45- with :
46- upload-key : ${{ secrets.UPLOAD_KEY }}
47- file : app/build/outputs/apk/release/app-release.apk
48-
4940 android-bundle :
5041 runs-on : [self-hosted, Linux]
5142 needs : [generate-build-number, branch]
Original file line number Diff line number Diff line change 2424 steps :
2525 - name : Generate Build Number
2626 id : build-number-generator
27- run : |
27+ run : |
2828 build_number=$(date +%s)
2929 echo "build-number=$build_number" >> $GITHUB_OUTPUT
3030 echo "Build Number: $build_number"
3434 uses : ./.github/workflows/android-common-with-lint.yml
3535 with :
3636 build-number : ${{ needs.generate-build-number.outputs.build-number }}
37+ upload-apk : true
3738 secrets : inherit
3839
3940 android-bundle :
Original file line number Diff line number Diff line change 3434 uses : QuickBirdEng/workflows/.github/workflows/android-common.yml@main
3535 with :
3636 build-number : ${{ needs.generate-build-number.outputs.build-number }}
37+ upload-apk : true
3738 secrets : inherit
3839
3940 android-bundle :
You can’t perform that action at this time.
0 commit comments