summaryrefslogtreecommitdiff
path: root/.github/workflows/check_dependencies.yml
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-08-02 11:39:38 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-08-02 12:39:50 +0900
commit8b466ea5fc00dcd400a57cc03db4537f0cb8fc81 (patch)
tree599dd3e18fbe79079f16efc1fae47fd89340e8c3 /.github/workflows/check_dependencies.yml
parent7f4e86804d426d79807cc038fe4444f7c65f5c4a (diff)
downloadruby-8b466ea5fc00dcd400a57cc03db4537f0cb8fc81.tar.gz
Use `${{}}` for if statement
Diffstat (limited to '.github/workflows/check_dependencies.yml')
-rw-r--r--.github/workflows/check_dependencies.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/check_dependencies.yml b/.github/workflows/check_dependencies.yml
index 77227bb7f9..645da4000b 100644
--- a/.github/workflows/check_dependencies.yml
+++ b/.github/workflows/check_dependencies.yml
@@ -13,12 +13,12 @@ jobs:
set -x
sudo apt-get update -q || :
sudo apt-get install --no-install-recommends -q -y build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev bison autoconf ruby
- if: "contains(matrix.os, 'ubuntu')"
+ if: ${{ contains(matrix.os, 'ubuntu') }}
- name: Install libraries
run: |
brew upgrade
brew install gmp libffi openssl@1.1 zlib autoconf automake libtool readline
- if: "contains(matrix.os, 'macos')"
+ if: ${{ contains(matrix.os, 'macos') }}
- name: git config
run: |
git config --global advice.detachedHead 0
@@ -42,4 +42,4 @@ jobs:
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
- if: failure() && github.event_name == 'push'
+ if: ${{ failure() && github.event_name == 'push' }}