https://github.com/tomschr/xml-doc-action
A GitHub Action to validate XML files with daps
https://github.com/tomschr/xml-doc-action
action daps github github-action github-actions validate xml
Last synced: about 1 month ago
JSON representation
A GitHub Action to validate XML files with daps
- Host: GitHub
- URL: https://github.com/tomschr/xml-doc-action
- Owner: tomschr
- License: gpl-3.0
- Created: 2021-02-05T09:22:38.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-01T11:55:54.000Z (about 5 years ago)
- Last Synced: 2024-12-30T08:08:47.956Z (over 1 year ago)
- Topics: action, daps, github, github-action, github-actions, validate, xml
- Language: Shell
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xml-doc-action
GitHub Action to manage XML files through [DAPS](https://github.com/openSUSE/daps).
A simple example to use this action in your doc repository:
```yaml
on:
push
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Validate with DAPS
uses: tomschr/xml-doc-action@main
with:
command: daps -v -d DC-test validate
```
## Inputs
Name | Required? | Type | Default | Explanation
--------------------|-----------|----------|---------|------------------------
`command` | yes* | string | `daps --version` | The DAPS command to use
## Outputs
Name | Type | Explanation
----------------|------|-----------------
`dapsexitcode` | int | The exit code from the input command