Separate build and install to get an estimate install time

pull/11468/head
Deanna Garcia 2 years ago
parent b10ce37703
commit b7b7eb6865
  1. 18
      .github/workflows/ruby_install.yml

@ -39,15 +39,17 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
submodules: recursive submodules: recursive
- name: Build and install cruby gem - name: Build cruby gem
run: | run: $HOME/bin/bazel run ruby:release
$HOME/bin/bazel run ruby:release
gem install bazel-bin/ruby/release.runfiles/com_google_protobuf/tmp/google-protobuf-*
if: ${{ !contains(matrix.ruby, 'jruby') }} if: ${{ !contains(matrix.ruby, 'jruby') }}
- name: Build and install jruby gem - name: Install cruby gem
run: | run: gem install bazel-bin/ruby/release.runfiles/com_google_protobuf/tmp/google-protobuf-*
$HOME/bin/bazel run ruby:jruby_release if: ${{ !contains(matrix.ruby, 'jruby') }}
gem install bazel-bin/ruby/jruby_release.runfiles/com_google_protobuf/tmp/google-protobuf-* - name: Build jruby gem
run: $HOME/bin/bazel run ruby:jruby_release
if: ${{ contains(matrix.ruby, 'jruby') }}
- name: Install jruby gem
run: gem install bazel-bin/ruby/jruby_release.runfiles/com_google_protobuf/tmp/google-protobuf-*
if: ${{ contains(matrix.ruby, 'jruby') }} if: ${{ contains(matrix.ruby, 'jruby') }}
- name: Test installation - name: Test installation
run: | run: |

Loading…
Cancel
Save