Fastlane fixes working up to a full release #68

Merged
remoll merged 33 commits from frontend/fix-fastlane-metadata-location into main 2025-04-30 11:01:50 +00:00
2 changed files with 10 additions and 6 deletions
Showing only changes of commit 26294d747c - Show all commits

View File

@ -5,7 +5,7 @@ on:
paths:
- frontend/**
name: Build and release release apps to production track
name: Build and release apps to beta track
jobs:
get-version:

View File

@ -37,6 +37,14 @@ jobs:
BUNDLE_GEMFILE: ${{ gitea.workspace }}/frontend/ios/Gemfile
steps:
- name: Fail if runner is not macOS
# reusable worflows are not really supported so the runs-on label is not respected
run: |
if [[ "$OSTYPE" != "darwin"* ]]; then
echo "This workflow is only supported on macOS. Just rerun the workflow until it is picked up by a macOS runner."
exit 1
fi
- uses: https://gitea.com/actions/checkout@v4
- name: Install Flutter
@ -54,6 +62,7 @@ jobs:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- uses: GuillaumeFalourd/setup-rsync@v1.2
# rsync is required by the google maps ios tools
- name: Install dependencies and clean up
run: |
@ -77,11 +86,6 @@ jobs:
run: |
sed -i '' -e "s/IOS_GOOGLE_MAPS_API_KEY/${{ secrets.IOS_GOOGLE_MAPS_API_KEY }}/g" Runner/AppDelegate.swift
- name: Test flutter
run: |
flutter doctor -v
flutter build ipa --help
- name: Run fastlane lane
run: bundle exec fastlane deploy_${{ inputs.build_type }}
env: