summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-11-19 15:13:35 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2019-11-30 16:44:52 +0900
commitc064018a7584fe03403a3b175ac25dbbb1162c8c (patch)
treeb3c99209fb7279102e2ee8b25f85a9ef1e319971 /.github
parentbb3542cc6b3db5477c2a9efd76905a4133545da1 (diff)
Make extract-gems only if test_task is check
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2678
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/macos.yml1
-rw-r--r--.github/workflows/ubuntu.yml1
2 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 4917e6333b..ab73c1963e 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -57,6 +57,7 @@ jobs:
run: make -C build $JOBS
- name: Extract gems
run: make -C build update-gems extract-gems
+ if: matrix.test_task == 'check'
- name: Tests
run: make -C build $JOBS -s ${{ matrix.test_task }}
env:
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index 9fe374f628..fd3fdf7d53 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -86,6 +86,7 @@ jobs:
run: make -C build $JOBS
- name: Extract gems
run: make -C build update-gems extract-gems
+ if: matrix.test_task == 'check'
- name: Tests
run: make -C build $JOBS -s ${{ matrix.test_task }}
env: