Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/test-cross-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,16 +116,17 @@ jobs:
name: Cache Ruby
with:
path: |
~/.rbenv/versions
~/.rbenv/cache
key: ruby-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('sentry-react-native/.ruby-version') }}
~/.asdf/installs/ruby
key: ruby-asdf-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('sentry-react-native/.ruby-version') }}

- name: Install Ruby (Bitrise)
if: matrix.runner_provider == 'bitrise'
working-directory: sentry-react-native
run: |
brew upgrade ruby-build
rbenv install -s
asdf plugin add ruby || true
asdf plugin update ruby
asdf install ruby $(cat .ruby-version)
asdf global ruby $(cat .ruby-version)

- name: Setup Ruby
if: matrix.runner_provider != 'bitrise'
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/ui-tests-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,16 @@ jobs:
name: Cache Ruby
with:
path: |
~/.rbenv/versions
~/.rbenv/cache
key: ruby-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.ruby-version') }}
~/.asdf/installs/ruby
key: ruby-asdf-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.ruby-version') }}

- name: Install Ruby (Bitrise)
if: inputs.runner_provider == 'bitrise'
run: |
brew upgrade ruby-build
rbenv install -s
asdf plugin add ruby || true
asdf plugin update ruby
asdf install ruby $(cat .ruby-version)
asdf global ruby $(cat .ruby-version)
bundle install

- name: Setup Ruby
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/unit-test-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,16 @@ jobs:
name: Cache Ruby
with:
path: |
~/.rbenv/versions
~/.rbenv/cache
key: ruby-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.ruby-version') }}
~/.asdf/installs/ruby
key: ruby-asdf-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.ruby-version') }}

- name: Install Ruby (Bitrise)
if: inputs.runner_provider == 'bitrise'
run: |
brew upgrade ruby-build
rbenv install -s
asdf plugin add ruby || true
asdf plugin update ruby
asdf install ruby $(cat .ruby-version)
asdf global ruby $(cat .ruby-version)
bundle install

- name: Setup Ruby
Expand Down
Loading