Skip to content

Commit 4904104

Browse files
fix: Use RUNNER_OS environment variable correctly
Fix make installation by using the correct environment variable syntax. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 8848a45 commit 4904104

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/unit_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ jobs:
3535
enable-cache: true
3636
- name: Install system dependencies
3737
run: |
38-
if [ "${{ runner.os }}" = "Linux" ]; then
38+
if [ "$RUNNER_OS" = "Linux" ]; then
3939
sudo apt-get update
4040
sudo apt-get install -y make
41-
elif [ "${{ runner.os }}" = "macOS" ]; then
41+
elif [ "$RUNNER_OS" = "macOS" ]; then
4242
# make is already installed on macOS runners
4343
which make || brew install make
4444
fi

0 commit comments

Comments
 (0)