revert to macos style sed
Some checks failed
Build and release release apps to production track / Get version (pull_request) Waiting to run
Build and release release apps to production track / Build and upload ios app (pull_request) Has been cancelled

This commit is contained in:
2025-04-28 14:12:17 +02:00
parent 5701f704dd
commit 0c740eb5ff
2 changed files with 4 additions and 2 deletions

View File

@@ -73,9 +73,9 @@ jobs:
MATCH_REPO_SSH_KEY: ${{ secrets.IOS_MATCH_REPO_SSH_KEY_BASE64 }}
- name: Replace API Key from secret
# even though the runner is macOS, the sed command is run in a Linux container
# on a macOS runner, sed requires a replacement suffix after the -i flag
run: |
sed -i -e "s/IOS_GOOGLE_MAPS_API_KEY/${{ secrets.IOS_GOOGLE_MAPS_API_KEY }}/g" Runner/AppDelegate.swift
sed -i '' -e "s/IOS_GOOGLE_MAPS_API_KEY/${{ secrets.IOS_GOOGLE_MAPS_API_KEY }}/g" Runner/AppDelegate.swift
- name: Test flutter
run: |