Skip to content

Commit 942038a

Browse files
authored
[ci] Simplify linux check for libreadline step (#106)
1 parent 8be3745 commit 942038a

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,10 @@ jobs:
2424
steps:
2525
# Checks-out the repository under $GITHUB_WORKSPACE.
2626
- uses: actions/checkout@v6
27-
- 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
27+
- name: Install libreadline
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)