Check runner.os instead of matrix.os

This commit is contained in:
Noah
2020-01-31 21:16:26 -06:00
parent f420e6cc0b
commit 5d2ddc76f3

View File

@@ -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: