Skip to content

Commit

Permalink
minor refactoring of mobile workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
maxjoehnk committed Nov 10, 2024
1 parent c53df6a commit 9cfbfec
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/mobile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,11 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive
# Build android release bundle
- uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version-file: "crates/ui/pubspec.yaml"
- name: Set up ruby env
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.2
bundler-cache: true
- name: Decode keystore
env:
ANDROID_KEYSTORE: ${{ secrets.ANDROID_KEYSTORE }}
Expand All @@ -50,11 +46,17 @@ jobs:
- name: Build
run: make android_bundle
working-directory: crates/ui
# Upload to play store
- name: Decode service account file
env:
SERVICE_ACCOUNT_KEY_JSON: ${{ secrets.SERVICE_ACCOUNT_KEY_JSON }}
run: echo $SERVICE_ACCOUNT_KEY_JSON | base64 -d > service_account_key.json
working-directory: crates/ui/android
- name: Set up ruby env
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.2
bundler-cache: true
- name: Deploy
run: |
bundle install
Expand Down

0 comments on commit 9cfbfec

Please sign in to comment.