-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
33 lines (31 loc) · 1.06 KB
/
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
name: 'spring-endpoint-exporter-action'
description: 'An action for the Spring Endpoint Exporter'
branding:
icon: cpu
color: blue
inputs:
scan-mode:
description: 'The mode the exporter will operate in.'
required: true
default: "JAR"
input-path:
description: 'The jar or directory with class files to scan and export all request mappings from.'
required: true
output-path:
description: 'Where to output the result of the exporter.'
required: true
include-filters:
description: 'A set of packages to include when scanning for request mappings.'
required: true
exclude-filters:
description: 'A set of packages to exclude when scanning for request mappings.'
required: false
runs:
using: 'docker'
image: 'Dockerfile'
env:
EXPORTER_SCAN_MODE: ${{ inputs.scan-mode }}
EXPORTER_INPUT_PATH: /github/workspace/${{ inputs.input-path }}
EXPORTER_OUTPUT_PATH: /github/workspace/${{ inputs.output-path }}
EXPORTER_INCLUDE_FILTERS: ${{ inputs.include-filters }}
EXPORTER_EXCLUDE_FILTERS: ${{ inputs.exclude-filters }}