Some more pipeline-fixes #46

Merged
remoll merged 4 commits from frontend/more-pipeline-fixes into main 2024-12-21 15:54:05 +00:00
3 changed files with 7 additions and 9 deletions
Showing only changes of commit 85c74b1a16 - Show all commits
frontend
.github/workflows
ios

@ -5,15 +5,18 @@ on:
jobs:
build:
runs-on: macos-15
runs-on: macos-latest
env:
# $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: ios/Gemfile
steps:
- uses: actions/checkout@v4
- name: Set up ruby env
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.1
bundler-cache: true
ruby-version: 3.3
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Install Flutter
uses: subosito/flutter-action@v2
@ -39,10 +42,6 @@ jobs:
env:
MATCH_REPO_SSH_KEY: ${{ secrets.IOS_MATCH_REPO_SSH_KEY_BASE64 }}
- name: Install fastlane
run: bundle install
working-directory: ios
- name: Install dependencies and clean up
run: |
flutter pub get

@ -8,7 +8,6 @@ import GoogleMaps
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
// load the key from env
GMSServices.provideAPIKey("IOS_GOOGLE_MAPS_API_KEY")
GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)

@ -70,7 +70,7 @@ platform :ios do
"-i",
"",
"s/IOS_GOOGLE_MAPS_API_KEY/#{ENV["IOS_GOOGLE_MAPS_API_KEY"]}/g",
"ios/Runner/AppDelegate.swift"
"../Runner/AppDelegate.swift"
)