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: