revert to macos style sed
This commit is contained in:
parent
5701f704dd
commit
0c740eb5ff
@ -73,9 +73,9 @@ jobs:
|
|||||||
MATCH_REPO_SSH_KEY: ${{ secrets.IOS_MATCH_REPO_SSH_KEY_BASE64 }}
|
MATCH_REPO_SSH_KEY: ${{ secrets.IOS_MATCH_REPO_SSH_KEY_BASE64 }}
|
||||||
|
|
||||||
- name: Replace API Key from secret
|
- 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: |
|
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
|
- name: Test flutter
|
||||||
run: |
|
run: |
|
||||||
|
@ -32,6 +32,7 @@ platform :ios do
|
|||||||
"flutter",
|
"flutter",
|
||||||
"build",
|
"build",
|
||||||
"ipa",
|
"ipa",
|
||||||
|
"--release",
|
||||||
"--build-name=#{build_name}",
|
"--build-name=#{build_name}",
|
||||||
"--build-number=#{build_number}",
|
"--build-number=#{build_number}",
|
||||||
)
|
)
|
||||||
@ -66,6 +67,7 @@ platform :ios do
|
|||||||
"flutter",
|
"flutter",
|
||||||
"build",
|
"build",
|
||||||
"ipa",
|
"ipa",
|
||||||
|
"--release",
|
||||||
"--build-name=#{build_name}",
|
"--build-name=#{build_name}",
|
||||||
"--build-number=#{build_number}",
|
"--build-number=#{build_number}",
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user