[ci] Don't check matrix.os when runner.os suffices (#8863)

There's no real need to manually check the `runs-on`, as `runner.os`
provides a universally identifiable string for checking this anyways.

Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
crueter
2026-05-06 20:30:50 -04:00
committed by GitHub
parent e40ca392c3
commit b10bc0a674
3 changed files with 14 additions and 13 deletions

View File

@@ -127,6 +127,7 @@ jobs:
run: df -h
- name: Free disk space (macOS)
if: runner.os == 'macOS'
# CodeQL: 5G
# go: 748M
# Android: 12G
@@ -134,7 +135,6 @@ jobs:
rm -rf /Users/runner/hostedtoolcache/CodeQL
rm -rf /Users/runner/hostedtoolcache/go
rm -rf /Users/runner/Library/Android
if: startsWith(matrix.os, 'macOS')
- name: Check disk free space post-cleanup
run: df -h