[前][次][番号順一覧][スレッド一覧]

ruby-changes:69389

From: Nobuyoshi <ko1@a...>
Date: Sun, 24 Oct 2021 19:36:08 +0900 (JST)
Subject: [ruby-changes:69389] fe77a03392 (master): Use `${{}}` for if statement

https://git.ruby-lang.org/ruby.git/commit/?id=fe77a03392

From fe77a0339284b9ae5edf8f1365210545c5ba5298 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 24 Oct 2021 18:35:51 +0900
Subject: 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: https://github.com/ruby/ruby/blob/trunk/.github/workflows/yjit-macos.yml#L42
       - 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: https://github.com/ruby/ruby/blob/trunk/.github/workflows/yjit-ubuntu.yml#L60
       - 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
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]