fix:调整ci
This commit is contained in:
parent
804cdba152
commit
1ee2ca5a54
@ -75,13 +75,13 @@ variables:
|
||||
- ruby -v # 输出当前ruby版本,便于调试
|
||||
- gem sources --add https://gems.ruby-china.com/ # 如在国外可移除此行
|
||||
- gem sources --add https://rubygems.org || true # 保证官方源始终存在
|
||||
- 'echo -e "---\n:backtrace: false\n:bulk_threshold: 1000\n:sources:\n- https://rubygems.org\n:update_sources: true\n:verbose: true" > ~/.gemrc'
|
||||
- bundle config mirror.https://rubygems.org https://mirrors.aliyun.com/rubygems/
|
||||
- bundle -v || gem install bundler --source https://gems.ruby-china.com/
|
||||
- ls -li
|
||||
- export NEXT_VERSION="$(cat app_new.version)"
|
||||
- bash scripts/bundle_install_and_auto_add.sh android/Gemfile vendor/bundle_android "bundle exec fastlane -v"
|
||||
- gem pristine --all || true # 修复所有未编译的gem扩展
|
||||
- echo -e "---\n:backtrace: false\n:bulk_threshold: 1000\n:sources:\n- https://rubygems.org\n:update_sources: true\n:verbose: true" > ~/.gemrc
|
||||
script:
|
||||
# 输出调试信息,便于后续排查环境问题
|
||||
- echo "=== DEBUG INFO (android) ==="
|
||||
@ -110,13 +110,13 @@ variables:
|
||||
- ruby -v # 输出当前ruby版本,便于调试
|
||||
- gem sources --add https://gems.ruby-china.com/ # 如在国外可移除此行
|
||||
- gem sources --add https://rubygems.org || true # 保证官方源始终存在
|
||||
- bundle config mirror.https://rubygems.org https://gems.ruby-china.com
|
||||
- 'echo -e "---\n:backtrace: false\n:bulk_threshold: 1000\n:sources:\n- https://rubygems.org\n:update_sources: true\n:verbose: true" > ~/.gemrc'
|
||||
- bundle config mirror.https://rubygems.org https://mirrors.aliyun.com/rubygems/
|
||||
- bundle -v || gem install bundler --source https://gems.ruby-china.com/
|
||||
- ls -li
|
||||
- export NEXT_VERSION="$(cat app_new.version)"
|
||||
- bash scripts/bundle_install_and_auto_add.sh ios/Gemfile vendor/bundle_ios "bundle exec fastlane -v"
|
||||
- gem pristine --all || true # 修复所有未编译的gem扩展
|
||||
- echo -e "---\n:backtrace: false\n:bulk_threshold: 1000\n:sources:\n- https://rubygems.org\n:update_sources: true\n:verbose: true" > ~/.gemrc
|
||||
script:
|
||||
# 输出调试信息,便于后续排查环境问题
|
||||
- echo "=== DEBUG INFO (ios) ==="
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user