Skip to content

Commit d8862cd

Browse files
committed
ci: use runner.os rather than matrix.os to filter
1 parent af16c36 commit d8862cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,11 +324,11 @@ jobs:
324324
path: lua-hash
325325

326326
- name: Install libssl-dev
327-
if: ${{ startsWith(matrix.os, 'ubuntu') }}
327+
if: ${{ runner.os == 'Linux' }}
328328
run: sudo apt install -y libssl-dev
329329

330330
- name: Setup MSVC dev-prompt
331-
if: ${{ matrix.os == 'windows-latest' && matrix.lua-version != 'luajit' }}
331+
if: ${{ runner.os == 'Windows' && matrix.lua-version != 'luajit' }}
332332
uses: ilammy/msvc-dev-cmd@v1
333333

334334
- name: Setup Lua

0 commit comments

Comments
 (0)