CI: packaging lint checks every Windows .wxs file (#466)
This commit is contained in:
@@ -46,7 +46,7 @@ jobs:
|
|||||||
}
|
}
|
||||||
- name: XML, desktop entry, AppStream, Flatpak manifest
|
- name: XML, desktop entry, AppStream, Flatpak manifest
|
||||||
run: |
|
run: |
|
||||||
xmllint --noout packaging/windows/effectcraft.wxs packaging/macos/*.plist* packaging/linux/*.xml*
|
xmllint --noout packaging/windows/*.wxs packaging/macos/*.plist* packaging/linux/*.xml*
|
||||||
# Windows Installer needs Icon ids ending in .ico or .exe, or shortcuts show a blank icon.
|
# Windows Installer needs Icon ids ending in .ico or .exe, or shortcuts show a blank icon.
|
||||||
if grep -oE '<Icon Id="[^"]*"' packaging/windows/effectcraft.wxs | grep -vE '\.(ico|exe)"$'; then
|
if grep -oE '<Icon Id="[^"]*"' packaging/windows/effectcraft.wxs | grep -vE '\.(ico|exe)"$'; then
|
||||||
echo "::error::Icon Id must end in .ico or .exe"; exit 1
|
echo "::error::Icon Id must end in .ico or .exe"; exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user