From 90016d1c96a282b71c78c7faee9821a4287ad4c7 Mon Sep 17 00:00:00 2001 From: rbontrager Date: Tue, 10 Dec 2024 08:57:28 -0600 Subject: [PATCH] Update e2e_android.yml --- .github/workflows/e2e_android.yml | 32 +++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/e2e_android.yml b/.github/workflows/e2e_android.yml index b4053c46b0..61bcdc8f49 100644 --- a/.github/workflows/e2e_android.yml +++ b/.github/workflows/e2e_android.yml @@ -168,23 +168,23 @@ jobs: echo "${{ secrets.FIREBASE_DIST_FILE_BASE64 }}" | base64 --decode > firebase-dist.json cd ../app echo "${{ secrets.GOOGLE_SERVICES_JSON }}" | base64 --decode > google-services.json - + - name: Install Ruby using rbenv - run: | - # Install Homebrew if not already installed - if ! command -v brew &>/dev/null; then - /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zshrc - eval "$(/opt/homebrew/bin/brew shellenv)" - fi - # Install rbenv and ruby-build - brew install rbenv ruby-build - rbenv init - echo 'eval "$(rbenv init -)"' >> ~/.zshrc - eval "$(rbenv init -)" - # Install the required Ruby version - rbenv install -s 3.0.2 - rbenv global 3.0.2 + run: | + # Install Homebrew if not already installed + if ! command -v brew &>/dev/null; then + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zshrc + eval "$(/opt/homebrew/bin/brew shellenv)" + fi + # Install rbenv and ruby-build + brew install rbenv ruby-build + rbenv init + echo 'eval "$(rbenv init -)"' >> ~/.zshrc + eval "$(rbenv init -)" + # Install the required Ruby version + rbenv install -s 3.0.2 + rbenv global 3.0.2 - name: Setup ruby and restore bundler cache uses: ruby/setup-ruby@v1