-
Notifications
You must be signed in to change notification settings - Fork 16
/
action.yml
47 lines (44 loc) · 1.23 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: "dotnet-sonarscanner"
description: "Run analysis for dotnet core via dotnet-sonarscanner"
author: "Joshua Duffy <[email protected]>"
inputs:
buildCommand:
description: "Command to invoke build"
required: true
testCommand:
description: "Command to invoke tests"
required: false
projectKey:
description: "Specifies the key of the analyzed project in SonarQube"
required: true
projectName:
description: "Specifies the name of the analyzed project in SonarQube"
required: true
sonarHostname:
description: "The server URL"
default: "https://sonarcloud.io"
required: false
sonarOrganisation:
description: "Organisation"
required: true
beginArguments:
description: "Arguments to append to the begin command"
required: false
endArguments:
description: "Arguments to append to the end command"
required: false
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.buildCommand }}
- ${{ inputs.testCommand }}
- ${{ inputs.projectKey }}
- ${{ inputs.projectName }}
- ${{ inputs.sonarHostname }}
- ${{ inputs.sonarOrganisation }}
- ${{ inputs.beginArguments }}
- ${{ inputs.endArguments }}
branding:
icon: 'check'
color: 'purple'