Skip to content

Commit

Permalink
Update ruby.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shaojunda authored Sep 19, 2019
1 parent 7e9c8a2 commit d162dd7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@ jobs:
- uses: actions/checkout@v1
- name: Set up Ruby 2.6.4
run: |
curl -sSL https://get.rvm.io | bash -s stable
rvm install ruby-2.6.4
sudo apt-get install -y libreadline-dev zlib1g-dev
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
exec $SHELL
git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build
rbenv install 2.6.4
rbenv global 2.6.4
- name: Build and test with Rake
run: |
gem install bundler
Expand Down

0 comments on commit d162dd7

Please sign in to comment.