You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Edit XML
v1.1
The purpose of this GitHub action is to run xmlstarlet on arbitrary files during an action, allowing you to add / delete / edit XML files programatically. For examples, see source1, source2.
Use the GitHub action in the following way:
uses: Mudlet/xmlstarlet-action@master
with:
args: [args to xmlstarlet here]
The args
field is used as arguments and options to the xmlstarlet command.
Example:
- name: delete all @line attributes
uses: Mudlet/xmlstarlet-action@master
with:
args: ed -P -L --delete //@line translations/mudlet.ts
Originally developed and in use in Mudlet.