File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 11name : ' Build Android App'
22description : ' Builds the Android app using Fastlane'
33
4+ inputs :
5+ google_services_json :
6+ description : ' Base64-encoded google-services.json file'
7+ required : true
8+
49runs :
510 using : composite
611
2631 with :
2732 node-version-file : .nvmrc
2833
34+ - name : Decode google-services.json
35+ env :
36+ GOOGLE_SERVICES_JSON : ${{ inputs.google_services_json }}
37+ run : |
38+ echo $GOOGLE_SERVICES_JSON | base64 --decode > android/app/google-services.json
39+ shell : bash
40+
2941 - name : Build Android APK with Fastlane
3042 run : npm run android:debug
3143 shell : bash
Original file line number Diff line number Diff line change @@ -100,9 +100,11 @@ jobs:
100100 runs-on : ubuntu-22.04
101101 steps :
102102 - name : " Check out code"
103- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
103+ uses : actions/checkout@v4
104104 - name : Build android apk
105105 uses : ./.github/actions/build-android
106+ with :
107+ google_services_json : ${{ secrets.GOOGLE_SERVICES_JSON }}
106108
107109 android-test :
108110 needs : [mendix-version, project, android-app]
You can’t perform that action at this time.
0 commit comments