From c168855a1a61f79f827ea7b34cbf15d7dd2ac7ee Mon Sep 17 00:00:00 2001 From: ok-nick <25470747+ok-nick@users.noreply.github.com> Date: Mon, 22 Aug 2022 13:58:54 -0400 Subject: [PATCH] Use Powershell syntax for executable check --- .github/actions/test/action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index 6a8ae36..7eebf44 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -39,9 +39,9 @@ runs: fi shell: bash - - name: verify executables in PATH on Powershell + - name: Verify executables in PATH on Powershell run: | - if ! hash selene stylua rojo 2>/dev/null; then - exit 1; - fi + Get-Command "selene" + Get-Command "stylua" + Get-Command "rojo" shell: powershell