From c064018a7584fe03403a3b175ac25dbbb1162c8c Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Tue, 19 Nov 2019 15:13:35 +0900 Subject: [PATCH] Make extract-gems only if test_task is check --- .github/workflows/macos.yml | 1 + .github/workflows/ubuntu.yml | 1 + 2 files changed, 2 insertions(+) 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: