From fe77a0339284b9ae5edf8f1365210545c5ba5298 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 24 Oct 2021 18:35:51 +0900 Subject: [PATCH] Use `${{}}` for if statement --- .github/workflows/yjit-macos.yml | 2 +- .github/workflows/yjit-ubuntu.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/yjit-macos.yml b/.github/workflows/yjit-macos.yml index f91be50559..8a1dd647cd 100644 --- a/.github/workflows/yjit-macos.yml +++ b/.github/workflows/yjit-macos.yml @@ -42,7 +42,7 @@ jobs: - run: make $JOBS incs - run: make $JOBS - run: make leaked-globals - if: matrix.test_task == 'check' + if: ${{ matrix.test_task == 'check' }} - run: make prepare-gems if: ${{ matrix.test_task == 'check' }} - run: make $JOBS -s ${{ matrix.test_task }} RUN_OPTS="$RUN_OPTS" diff --git a/.github/workflows/yjit-ubuntu.yml b/.github/workflows/yjit-ubuntu.yml index 2507b02769..b75e341f5a 100644 --- a/.github/workflows/yjit-ubuntu.yml +++ b/.github/workflows/yjit-ubuntu.yml @@ -60,7 +60,7 @@ jobs: - run: make $JOBS incs - run: make $JOBS - run: make leaked-globals - if: matrix.test_task == 'check' + if: ${{ matrix.test_task == 'check' }} - run: make prepare-gems if: ${{ matrix.test_task == 'check' }} - name: Create dummy files in build dir