mirror of
https://github.com/openMF/mobile-wallet.git
synced 2026-02-06 09:37:24 +00:00
* Chore: Updated Fastlane and CI for release This commit adds Fastlane for automating the Android release process and configures CI for internal, beta, and production releases using GitHub Actions. The following changes were made: - Added Fastlane configuration files for building, testing, and deploying the app. - Added GitHub Actions workflows for triggering internal, beta, and production releases. - Updated .gitignore to exclude Fastlane report files. - Updated dependency versions in Gemfile.lock. - Added a README for Fastlane. - Updated the make_site workflow to trigger on released releases instead of published releases.
52 lines
1.7 KiB
YAML
52 lines
1.7 KiB
YAML
name: 'Inflate Secrets'
|
|
description: 'Inflates the secret values into the appropriate files'
|
|
inputs:
|
|
keystore:
|
|
description: 'The keystore to inflate'
|
|
required: true
|
|
google-services:
|
|
description: 'The google-services.json to inflate'
|
|
required: true
|
|
playstore-creds:
|
|
description: 'The playstore credentials to inflate'
|
|
required: true
|
|
firebase-creds:
|
|
description: 'The firebase credentials to inflate'
|
|
required: true
|
|
runs:
|
|
using: 'composite'
|
|
steps:
|
|
- name: Mock debug google-services.json
|
|
shell: bash
|
|
run: |
|
|
cp .github/mock-google-services.json mifospay-android/google-services.json
|
|
|
|
- name: Inflate release_keystore.keystore
|
|
shell: bash
|
|
env:
|
|
KEYSTORE: ${{ inputs.keystore }}
|
|
run: |
|
|
echo $KEYSTORE | base64 --decode > mifospay-android/release_keystore.keystore
|
|
|
|
- name: Inflate google-services.json
|
|
shell: bash
|
|
env:
|
|
GOOGLE_SERVICES: ${{ inputs.google-services }}
|
|
run: |
|
|
echo $GOOGLE_SERVICES > mifospay-android/google-services.json
|
|
|
|
- name: Inflate playStorePublishServiceCredentialsFile.json
|
|
shell: bash
|
|
env:
|
|
CREDS: ${{ inputs.playstore-creds }}
|
|
run: |
|
|
# Create the file with appropriate permissions
|
|
touch mifospay-android/playStorePublishServiceCredentialsFile.json
|
|
echo $CREDS > mifospay-android/playStorePublishServiceCredentialsFile.json
|
|
|
|
- name: Inflate firebaseAppDistributionServiceCredentialsFile.json
|
|
shell: bash
|
|
env:
|
|
FIREBASE_CREDS: ${{ inputs.firebase-creds }}
|
|
run: |
|
|
echo $FIREBASE_CREDS > mifospay-android/firebaseAppDistributionServiceCredentialsFile.json |