Skip to content

Commit

Permalink
Use if runner.os in CI config instead of matrix.os check
Browse files Browse the repository at this point in the history
  • Loading branch information
dmidem committed Dec 31, 2024
1 parent bf0323e commit 92caf23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Install dependencies (needed for yeslogic-fontconfig-sys crate)
if: matrix.os == 'ubuntu-latest'
if: runner.os == 'Linux'
run: sudo apt update && sudo apt install -y libfontconfig1-dev
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install dependencies (needed for yeslogic-fontconfig-sys crate)
if: matrix.os == 'ubuntu-latest'
if: runner.os == 'Linux'
run: sudo apt update && sudo apt install -y libfontconfig1-dev
- uses: actions/checkout@v4
- run: cargo fetch
Expand Down

0 comments on commit 92caf23

Please sign in to comment.