Check runner.os instead of matrix.os

This commit is contained in:
Noah committed 2020-01-31 21:16:26 -06:00
1 parent f420e6cc0b
commit 5d2ddc76f3
1 file changed
+2 -2
+2 -2
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: