mirror of https://github.com/tooot-app/app
Run cocoapods only when needed
This commit is contained in:
parent
ca3c9c14a7
commit
3a7eec53ec
|
@ -27,11 +27,9 @@ jobs:
|
||||||
token: ${{ secrets.EXPO_TOKEN }}
|
token: ${{ secrets.EXPO_TOKEN }}
|
||||||
- name: -- Step 4 -- Install node dependencies
|
- name: -- Step 4 -- Install node dependencies
|
||||||
run: yarn install
|
run: yarn install
|
||||||
- name: -- Step 5 -- Install native dependencies
|
- name: -- Step 5 -- Install ruby dependencies
|
||||||
run: npx pod-install
|
|
||||||
- name: -- Step 6 -- Install ruby dependencies
|
|
||||||
run: bundle install
|
run: bundle install
|
||||||
- name: -- Step 7 -- Run fastlane
|
- name: -- Step 6 -- Run fastlane
|
||||||
env:
|
env:
|
||||||
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer
|
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer
|
||||||
ENVIRONMENT: ${{ steps.branch.outputs.branch }}
|
ENVIRONMENT: ${{ steps.branch.outputs.branch }}
|
||||||
|
|
|
@ -208,6 +208,7 @@ lane :build do
|
||||||
puts("Release #{GITHUB_RELEASE} exists. Continue with building React Native only.")
|
puts("Release #{GITHUB_RELEASE} exists. Continue with building React Native only.")
|
||||||
else
|
else
|
||||||
puts("Release #{GITHUB_RELEASE} does not exist. Create new release as well as new native build.")
|
puts("Release #{GITHUB_RELEASE} does not exist. Create new release as well as new native build.")
|
||||||
|
cocoapods(clean_install: true, podfile: "./ios/Podfile", deployment: true)
|
||||||
build_ios
|
build_ios
|
||||||
build_android
|
build_android
|
||||||
case ENVIRONMENT
|
case ENVIRONMENT
|
||||||
|
|
Loading…
Reference in New Issue