Skip to content

Commit

Permalink
Use pod-install script in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Jul 27, 2024
1 parent a4b4f80 commit a206ce3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/platformDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ jobs:
with:
timeout_minutes: 10
max_attempts: 5
command: cd ios && bundle exec pod install --verbose
command: scripts/pod-install.sh

- name: Decrypt AppStore profile
run: cd ios && gpg --quiet --batch --yes --decrypt --passphrase="$LARGE_SECRET_PASSPHRASE" --output NewApp_AppStore.mobileprovision NewApp_AppStore.mobileprovision.gpg
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ jobs:
with:
timeout_minutes: 10
max_attempts: 5
command: cd ios && bundle exec pod install --verbose
command: scripts/pod-install.sh

- name: Decrypt AdHoc profile
run: cd ios && gpg --quiet --batch --yes --decrypt --passphrase="$LARGE_SECRET_PASSPHRASE" --output NewApp_AdHoc.mobileprovision NewApp_AdHoc.mobileprovision.gpg
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"clean": "npx react-native clean-project-auto",
"android": "scripts/set-pusher-suffix.sh && npx react-native run-android --mode=developmentDebug --appId=com.expensify.chat.dev --active-arch-only",
"ios": "scripts/set-pusher-suffix.sh && npx react-native run-ios --list-devices --mode=\"DebugDevelopment\" --scheme=\"New Expensify Dev\"",
"pod-install": "cd ios && bundle exec pod install",
"pod-install": "scripts/pod-install.sh",
"ipad": "concurrently \"npx react-native run-ios --simulator=\\\"iPad Pro (12.9-inch) (6th generation)\\\" --mode=\\\"DebugDevelopment\\\" --scheme=\\\"New Expensify Dev\\\"\"",
"ipad-sm": "concurrently \"npx react-native run-ios --simulator=\\\"iPad Pro (11-inch) (4th generation)\\\" --mode=\\\"DebugDevelopment\\\" --scheme=\\\"New Expensify Dev\\\"\"",
"start": "npx react-native start",
Expand Down
2 changes: 1 addition & 1 deletion workflow_tests/assertions/platformDeployAssertions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ function assertIOSJobExecuted(workflowResult: Step[], didExecute = true, isProdu
createStepAssertion('Install cocoapods', true, null, 'IOS', 'Installing cocoapods', [
{key: 'timeout_minutes', value: '10'},
{key: 'max_attempts', value: '5'},
{key: 'command', value: 'cd ios && bundle exec pod install'},
{key: 'command', value: 'scripts/pod-install.sh'},
]),
createStepAssertion('Decrypt AppStore profile', true, null, 'IOS', 'Decrypting profile', null, [{key: 'LARGE_SECRET_PASSPHRASE', value: '***'}]),
createStepAssertion('Decrypt AppStore Notification Service profile', true, null, 'IOS', 'Decrypting profile', null, [{key: 'LARGE_SECRET_PASSPHRASE', value: '***'}]),
Expand Down
2 changes: 1 addition & 1 deletion workflow_tests/assertions/testBuildAssertions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ function assertIOSJobExecuted(workflowResult: Step[], ref = '', didExecute = tru
[
{key: 'timeout_minutes', value: '10'},
{key: 'max_attempts', value: '5'},
{key: 'command', value: 'cd ios && bundle exec pod install --verbose'},
{key: 'command', value: 'scripts/pod-install.sh'},
],
[],
),
Expand Down

0 comments on commit a206ce3

Please sign in to comment.