mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Check runner.os instead of matrix.os
This commit is contained in:
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user