fix:调整ci流程
This commit is contained in:
parent
86f87f9d72
commit
b97f7a345d
@ -60,13 +60,19 @@ variables:
|
||||
.setup_fastlane_android:
|
||||
extends: .build_rule
|
||||
before_script:
|
||||
- export PUB_HOSTED_URL=https://pub.flutter-io.cn
|
||||
- export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
|
||||
- ls -li
|
||||
- export NEXT_VERSION="$(cat app_new.version)"
|
||||
# - flutter pub get
|
||||
# - flutter pub get
|
||||
- export PATH="/opt/homebrew/bin:$PATH"
|
||||
- eval "$(rbenv init -)"
|
||||
- rbenv global 2.6.10 # 你实际用的 Ruby 版本
|
||||
- ruby -v
|
||||
- which ruby
|
||||
- gem env
|
||||
- bundle config mirror.https://rubygems.org https://gems.ruby-china.com
|
||||
- bundle install --gemfile android/Gemfile --quiet
|
||||
- bundle install --gemfile android/Gemfile --path vendor/bundle_android --quiet
|
||||
cache:
|
||||
paths:
|
||||
- app_new.version
|
||||
@ -74,13 +80,18 @@ variables:
|
||||
.setup_fastlane_ios:
|
||||
extends: .build_rule
|
||||
before_script:
|
||||
- export PUB_HOSTED_URL=https://pub.flutter-io.cn
|
||||
- export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
|
||||
- ls -li
|
||||
- export NEXT_VERSION="$(cat app_new.version)"
|
||||
# - flutter pub get
|
||||
- export PATH="/opt/homebrew/bin:$PATH"
|
||||
- eval "$(rbenv init -)"
|
||||
- rbenv global 2.6.10 # 你实际用的 Ruby 版本
|
||||
- ruby -v
|
||||
- which ruby
|
||||
- gem env
|
||||
- bundle config mirror.https://rubygems.org https://gems.ruby-china.com
|
||||
- bundle install --gemfile ios/Gemfile --quiet
|
||||
- bundle install --gemfile ios/Gemfile --path vendor/bundle_ios --quiet
|
||||
cache:
|
||||
paths:
|
||||
- app_new.version
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user