Skip to content

Merge pull request #224 from Monday-Rocket/develop #2

Merge pull request #224 from Monday-Rocket/develop

Merge pull request #224 from Monday-Rocket/develop #2

Workflow file for this run

name: Deploy Android App to Play Store
on:
push:
branches:
- android-release
jobs:
# internal test
release-android:
name: Build and release Android app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11.x'
- uses: subosito/[email protected]
with:
flutter-version: '3.24.3'
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1.2'
- name: Install Fastlane
run: cd android && bundle install && cd ..
- name: Install packages
run: flutter pub get
- run: echo '${{ secrets.SIGNING_PROPERTIES }}' | base64 -d > ./android/signing.properties
- run: echo '${{ secrets.PRIVATE_ANDROID_API_KEY }}' | base64 -d > ./android/playstore-api-key.json
- run: echo '${{ secrets.ANDROID_KEYSTORE_BASE64 }}' | base64 -d > ./android/monday-key.jks
- run: echo "${{ secrets.FIREBASE_OPTIONS }}" | base64 -d > ./lib/firebase_options.dart
- run: echo '${{ secrets.GOOGLE_SERVICES_ANDROID }}' | base64 -d > ./android/app/google-services.json
- run: echo '${{ secrets.ANDROID_STRING_SECRET }}' | base64 -d > ./android/app/src/main/res/values/strings_secret.xml
- run: echo '${{ secrets.DOTENV }}' | base64 -d > .env
- name: Prebuild
run: flutter build appbundle
- name: Execute Fastlane command
run: cd android && fastlane beta