fix:调整ci

This commit is contained in:
liyi 2025-05-16 16:39:49 +08:00
parent a053e23843
commit faca7eae3e
3 changed files with 4 additions and 2 deletions

View File

@ -72,6 +72,7 @@ variables:
- which ruby # 输出当前使用的ruby路径便于调试
- ruby -v # 输出当前ruby版本便于调试
- gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/ # 如在国外可移除此行
- bundle config mirror.https://rubygems.org https://gems.ruby-china.com
- bundle -v || gem install bundler --source https://gems.ruby-china.com/
- ls -li
- export NEXT_VERSION="$(cat app_new.version)"
@ -103,6 +104,7 @@ variables:
- which ruby # 输出当前使用的ruby路径便于调试
- ruby -v # 输出当前ruby版本便于调试
- gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/ # 如在国外可移除此行
- bundle config mirror.https://rubygems.org https://gems.ruby-china.com
- bundle -v || gem install bundler --source https://gems.ruby-china.com/
- ls -li
- export NEXT_VERSION="$(cat app_new.version)"

View File

@ -1,4 +1,4 @@
source "https://rubygems.org"
source "https://gems.ruby-china.com"
gem "fastlane"
gem 'nkf', '0.2.0'

View File

@ -1,4 +1,4 @@
source "https://rubygems.org"
source "https://gems.ruby-china.com"
gem "fastlane"
gem 'cocoapods', '1.14.3'