Skip to content

Commit

Permalink
sed replace first occurence only
Browse files Browse the repository at this point in the history
  • Loading branch information
albho committed Nov 14, 2024
1 parent be85650 commit 3bc4af9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ios-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ jobs:
PerformanceTest/PerformanceTest.swift

- name: Inject Performance Threshold
run: sed -i '.bak' 's:{PERFORMANCE_THRESHOLD_SEC}:${{ matrix.performanceThresholdSec }}:'
run: sed -i '.bak'
'0,/{PERFORMANCE_THRESHOLD_SEC}/s/{PERFORMANCE_THRESHOLD_SEC}/${{ matrix.performanceThresholdSec }}/'
PerformanceTest/PerformanceTest.swift

- name: XCode Build
Expand Down
1 change: 1 addition & 0 deletions script/automation/browserstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def main(args: argparse.Namespace) -> None:

if not build_response.ok:
print('Build Failed', build_response_json)
print('Build Response', build_response)
exit(1)

if build_response_json['message'] != 'Success':
Expand Down

0 comments on commit 3bc4af9

Please sign in to comment.