Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1.33 KB

readme.md

File metadata and controls

40 lines (25 loc) · 1.33 KB

Valid XML

Build Version Size

Action to validate the syntax of XML files.

Usage 🚀

uses: action-pack/valid-xml@v1
with:
  path: "src/xml/"
  file-endings: ".xml, .docx, myfile"

Inputs 📝

path

The path that is scanned. This includes subdirectories. Default "/".

file-endings

A string containing the file endings that are verified to be XML.

Entries need to be separated by "," and whitespaces are trimmed. Capitalization is ignored, so ".xml" will end up scanning "myDocument.XML".

Outputs 📝

result

A string containing either an error message of the first file that could not be parsed or a success message with the amount of successfully scanned files.

Stars 🌟

Stars