From 1ee2ca5a54cf6b4fbc282c182e8c39f338493f4f Mon Sep 17 00:00:00 2001 From: liyi Date: Sat, 17 May 2025 11:22:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=B0=83=E6=95=B4ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f6716abe..147f7607 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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) ==="