Test executables in PATH on powershell

This commit is contained in:
ok-nick 2022-08-22 13:53:06 -04:00
parent 14933ea774
commit 820eb00cd1
No known key found for this signature in database
GPG key ID: A93D451DB4F2EB17

View file

@ -32,10 +32,16 @@ runs:
path: ${{ inputs.path }} path: ${{ inputs.path }}
token: ${{ inputs.token }} token: ${{ inputs.token }}
- name: Verify executables in PATH - name: Verify executables in PATH on Bash
run: | run: |
if ! hash selene stylua rojo 2>/dev/null; then if ! hash selene stylua rojo 2>/dev/null; then
exit 1; exit 1;
fi fi
shell: bash shell: bash
- name: verify executables in PATH on Powershell
run: |
if ! hash selene stylua rojo 2>/dev/null; then
exit 1;
fi
shell: powershell