From 671dfb8afaa3e8e557eb604f476fab67728fd9bd Mon Sep 17 00:00:00 2001 From: Tobiasz Laskowski Date: Sat, 20 Dec 2025 14:41:24 +0000 Subject: [PATCH] [ci] Simplify linux check for libreadline step --- .github/workflows/ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f4745b..28873b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,12 +24,10 @@ jobs: steps: # Checks-out the repository under $GITHUB_WORKSPACE. - uses: actions/checkout@v6 - - name: Install libreadline on linux - run: | - if [ "$RUNNER_OS" == "Linux" ]; then - sudo apt-get install -y libreadline-dev - fi - shell: bash + - name: Install libreadline + if: runner.os == 'Linux' + run: | + sudo apt-get install -y libreadline-dev - name: Install Lua (${{ matrix.lua }}) run: |