Fixed mt.exe check for installer script
This commit is contained in:
parent
4ad5b15db7
commit
99d6eee147
1 changed files with 6 additions and 1 deletions
|
@ -28,7 +28,12 @@ jobs:
|
|||
- name: Check mt.exe availability
|
||||
shell: bash
|
||||
run: |
|
||||
mt.exe /? > /dev/null 2>&1 || { echo "mt.exe not available, please install the Windows SDK"; exit 1; }
|
||||
if ! command -v mt.exe > /dev/null 2>&1; then
|
||||
echo "mt.exe not available, please install the Windows SDK"
|
||||
exit 1
|
||||
else
|
||||
echo "mt.exe is available"
|
||||
fi
|
||||
|
||||
- name: Clone Publisher repo and Generate Manifest Files
|
||||
shell: bash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue