-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
33 lines (33 loc) · 915 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
# action.yml
#
name: logToCheckStyle
description: Convert text log to CheckStyle xml format
inputs:
in:
description: Source log path (Textual input log)
required: true
out:
description: Target log path (CheckStyle xml format log)
required: true
root:
description: Prefix to remove from paths in log
required: false
default:
annotate:
description: Turn annotation off/on (default = true)
required: false
default: true
# outputs:
# outpath: # id of output
# description: The output path
runs:
using: composite
steps:
- name: Analyse logfile
shell: ${{ runner.os == 'Windows' && 'bash' || 'sh' }}
run: |
echo ::group::Analyze log file
python -m pip install regex
'${{ github.action_path }}/entrypoint.sh' '${{ inputs.in }}' '${{ inputs.out }}' '${{ inputs.root }}', '${{ inputs.annotate }}'
echo ::endgroup::