Skip to content

Commit

Permalink
bug/10357-rachael-detox-add-ruby-install-to-e2e-android
Browse files Browse the repository at this point in the history
  • Loading branch information
rbontrager committed Dec 10, 2024
1 parent 55ed60e commit 8fd9c68
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/e2e_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +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
- name: Setup ruby and restore bundler cache
uses: ruby/setup-ruby@v1
Expand Down

0 comments on commit 8fd9c68

Please sign in to comment.