From 05d742665826b9d8e47c54d55df59435228091ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rickard=20L=C3=B6fstr=C3=B6m?= Date: Mon, 19 Oct 2020 16:55:10 +0200 Subject: [PATCH] Conditional rule to task --- .github/workflows/test.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6a8af21a..18e92155 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,5 +24,10 @@ jobs: Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh') scoop bucket add extras scoop install task - - name: Run CI Task + - name: Run CI Task (Linux/macOS) + if: runner.os != 'Windows' + run: ./bin/task ci + - name: Run CI Task (Windows) + if: runner.os == 'Windows' run: task ci +