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: |