From 47d9c4d2eb3887da355e5b658c9cc887f4a7c263 Mon Sep 17 00:00:00 2001 From: liyi Date: Fri, 16 May 2025 15:17:58 +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 | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 254f67e1..a5f0e421 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -64,11 +64,27 @@ variables: .setup_fastlane_android: extends: .build_rule before_script: + - export PATH="$HOME/.rbenv/bin:$PATH" + - eval "$(rbenv init -)" + - rbenv global 2.7.8 + - export PATH="$HOME/.rbenv/shims:$PATH" + - which ruby + - ruby -v + - gem install bundler - ls -li - export NEXT_VERSION="$(cat app_new.version)" - bundle config set --local path 'vendor/bundle' - bundle install --gemfile android/Gemfile --quiet - gem pristine --all || true + script: + - echo "=== DEBUG INFO (android) ===" + - which ruby + - ruby -v + - which gem + - gem -v + - echo $PATH + - env + - bash android/build.sh cache: paths: - app_new.version @@ -76,11 +92,27 @@ variables: .setup_fastlane_ios: extends: .build_rule before_script: + - export PATH="$HOME/.rbenv/bin:$PATH" + - eval "$(rbenv init -)" + - rbenv global 2.7.8 + - export PATH="$HOME/.rbenv/shims:$PATH" + - which ruby + - ruby -v + - gem install bundler - ls -li - export NEXT_VERSION="$(cat app_new.version)" - bundle config set --local path 'vendor/bundle' - bundle install --gemfile ios/Gemfile --quiet - gem pristine --all || true + script: + - echo "=== DEBUG INFO (ios) ===" + - which ruby + - ruby -v + - which gem + - gem -v + - echo $PATH + - env + - bash ios/build.sh cache: paths: - app_new.version