From 5d2ddc76f300cc4ec148a386d03708129cc72f20 Mon Sep 17 00:00:00 2001 From: Noah <33094578+coolreader18@users.noreply.github.com> Date: Fri, 31 Jan 2020 21:16:26 -0600 Subject: [PATCH] Check runner.os instead of matrix.os --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e2dcb7e78..8c8f92252 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@master - name: Convert symlinks to hardlink (windows only) run: powershell.exe scripts/symlinks-to-hardlinks.ps1 - if: matrix.os == 'windows-latest' + if: runner.os == 'Windows' - name: Cache cargo dependencies uses: actions/cache@v1 with: @@ -42,7 +42,7 @@ jobs: - uses: actions/checkout@master - name: Convert symlinks to hardlink (windows only) run: powershell.exe scripts/symlinks-to-hardlinks.ps1 - if: matrix.os == 'windows-latest' + if: runner.os == 'Windows' - name: Cache cargo dependencies uses: actions/cache@v1 with: