Skip to content

Commit 24d034d

Browse files
committed
[ci] Simplify linux check for libreadline step
1 parent 8be3745 commit 24d034d

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,9 @@ jobs:
2525
# Checks-out the repository under $GITHUB_WORKSPACE.
2626
- uses: actions/checkout@v6
2727
- name: Install libreadline on linux
28-
run: |
29-
if [ "$RUNNER_OS" == "Linux" ]; then
30-
sudo apt-get install -y libreadline-dev
31-
fi
32-
shell: bash
28+
if: runner.os == 'Linux'
29+
run: |
30+
sudo apt-get install -y libreadline-dev
3331
3432
- name: Install Lua (${{ matrix.lua }})
3533
run: |

0 commit comments

Comments
 (0)