aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2026-08-08 06:51:11 +0200
committerHisham Muhammad <hisham@gobolinux.org>2026-08-08 11:19:15 -0300
commit665f160b4d0b79e85e66c6cc83e442d72eb40868 (patch)
tree8812b75f93051cf76aa94fb51ffd9a26cedd567d
parenteb41e850eee38b2b6d13ecfbbe091c1fb9b03244 (diff)
downloadluarocks-665f160b4d0b79e85e66c6cc83e442d72eb40868.tar.gz
luarocks-665f160b4d0b79e85e66c6cc83e442d72eb40868.tar.bz2
luarocks-665f160b4d0b79e85e66c6cc83e442d72eb40868.zip
ci: Use recommended way to detect the operating system
-rw-r--r--.github/workflows/test.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 838f3452..fdb00659 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -51,11 +51,11 @@ jobs:
51 luaRocksVersion: "3.13.0" 51 luaRocksVersion: "3.13.0"
52 52
53 - name: 'Setup macOS deps' 53 - name: 'Setup macOS deps'
54 if: ${{ contains(matrix.os, 'macos') }} 54 if: runner.os == 'macOS'
55 run: brew install openssl bzip2 55 run: brew install openssl bzip2
56 56
57 - name: 'Setup Ubuntu deps' 57 - name: 'Setup Ubuntu deps'
58 if: ${{ contains(matrix.os, 'ubuntu') }} 58 if: runner.os == 'Linux'
59 run: sudo apt-get install libbz2-dev 59 run: sudo apt-get install libbz2-dev
60 60
61 - name: Prep 61 - name: Prep