Skip to content

Commit b08130f

Browse files
committed
[rb] Disable prebuilt Ruby on CI
1 parent 52e8728 commit b08130f

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

‎.github/workflows/bazel.yml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,10 @@ jobs:
118118
run: echo '${{ inputs.python-version }}' > py/.python-version
119119
- name: Set Ruby version
120120
if: inputs.ruby-version != ''
121-
run: |
122-
echo '${{ inputs.ruby-version }}' > rb/.ruby-version
123-
sed '/^[[:space:]]*rv_version/d' MODULE.bazel > MODULE.bazel.tmp && mv MODULE.bazel.tmp MODULE.bazel
121+
run: echo '${{ inputs.ruby-version }}' > rb/.ruby-version
122+
- name: Disable prebuilt Ruby
123+
if: inputs.ruby-version != '' && inputs.os != 'windows'
124+
run: sed '/^[[:space:]]*rv_version/d' MODULE.bazel > MODULE.bazel.tmp && mv MODULE.bazel.tmp MODULE.bazel
124125
- name: Setup Node
125126
if: inputs.node-version != ''
126127
uses: actions/setup-node@v4

‎.github/workflows/ci-ruby.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ jobs:
8787
browser: ${{ matrix.browser }}
8888
os: ${{ matrix.os }}
8989
rerun-with-debug: true
90+
ruby-version: 3.2.9
9091
run: >
9192
bazel test
9293
--keep_going

0 commit comments

Comments
 (0)