summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2021-02-27 13:49:03 +0900
committernagachika <nagachika@ruby-lang.org>2021-02-27 13:49:03 +0900
commitbad623558eafde1f2ea23d27afdfa6b1690ee16f (patch)
treee8c57836e11f6683ed2afc2b40baf2c3a76f3aa2 /.github
parent190ffd8761bec206582095028e5752ae5ccd7587 (diff)
.github/workflows/macos.yml: Remove pre-installed gems before test on macos Actions.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/macos.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 17d8085707..6cdbdc272b 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -52,6 +52,8 @@ jobs:
../src/configure -C --disable-install-doc --with-openssl-dir=$(brew --prefix openssl@1.1) --with-readline-dir=$(brew --prefix readline)
- name: Make
run: make -C build $JOBS
+ - name: Remove system gems
+ run: rm -rf /usr/local/lib/ruby/gems/2.7.0/
- name: Extract gems
run: make -C build update-gems extract-gems
if: matrix.test_task == 'check'