We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 864875d commit 6a9b01eCopy full SHA for 6a9b01e
1 file changed
action.yml
@@ -8,7 +8,16 @@ runs:
8
using: 'composite'
9
steps:
10
- name: Check file
11
+ id: linting
12
shell: bash
- run: xsltproc --xinclude XSLTLint.xslt $INPUT_XSLT_FILE
13
+ run: xsltproc --xinclude XSLTLint.xslt $INPUT_XSLT_FILE | echo "report=$@" >> $GITHUB_OUTPUT
14
env:
15
INPUT_XSLT_FILE: ${{ inputs.xslt-file }}
16
+ - name: Report linting status
17
+ run: |
18
+ if [[ "${{ steps.linting.outputs.report }}" == "" ]]; then
19
+ exit 0
20
+ else
21
+ echo "$GITHUB_OUTPUT"
22
23
+ fi
0 commit comments