diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-08-02 11:39:38 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-08-02 12:39:50 +0900 |
commit | 8b466ea5fc00dcd400a57cc03db4537f0cb8fc81 (patch) | |
tree | 599dd3e18fbe79079f16efc1fae47fd89340e8c3 /.github/workflows/ubuntu.yml | |
parent | 7f4e86804d426d79807cc038fe4444f7c65f5c4a (diff) |
Use `${{}}` for if statement
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4700
Diffstat (limited to '.github/workflows/ubuntu.yml')
-rw-r--r-- | .github/workflows/ubuntu.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index f7b07ca80b..e148b76cbe 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -48,13 +48,13 @@ 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' + if: ${{ matrix.test_task == 'check' }} - name: Create dummy files in build dir run: | ./miniruby -e '(("a".."z").to_a+("A".."Z").to_a+("0".."9").to_a+%w[foo bar test zzz]).each{|basename|File.write("#{basename}.rb", "raise %(do not load #{basename}.rb)")}' - if: matrix.test_task == 'check' + if: ${{ matrix.test_task == 'check' }} - run: make $JOBS -s ${{ matrix.test_task }} timeout-minutes: 30 env: @@ -72,7 +72,7 @@ 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' }} defaults: run: |