From bdb68eba109123388a69c1b34cbc2a2071a81986 Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Mon, 20 May 2024 23:32:07 +0900 Subject: [PATCH] I don't know why appeared only in 3.2 --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e137bd63..c281bfb2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,9 +41,8 @@ jobs: steps: # libyaml is needed for psych, see https://github.com/actions/runner-images/issues/9895 # GitHub installs libyaml-dev in latest runners, but often dropped in new runners. - # So, make sure to check here even if using runner installed. - name: Install libyaml - if: startsWith(matrix.os, 'ubuntu-') + if: matrix.ruby == '3.2' run: sudo apt-get install --no-install-recommends --assume-yes libyaml-dev - uses: actions/checkout@v4 - uses: ruby/setup-ruby@7dc18ff0ca6e3630d3f29d2a85ebf6cc27ae9d6c # v1.177.0