-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathaction.yml
48 lines (48 loc) · 1.53 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
48
name: '.NET version sweeper'
description: 'A Github action that scans .NET projects, and creates issues that report versions that are not within long term support.'
branding:
icon: alert-circle
color: yellow
inputs:
owner:
description: 'The owner of the repo. Assign from github.repository_owner. Example, "dotnet".'
required: true
name:
description: 'The repository name. Example, "samples".'
required: true
branch:
description: 'The branch name. Assign from github.ref. Example, "main".'
required: true
dir:
description: 'The root directory'
required: false
default: '/github/workspace'
pattern:
description: 'The search pattern, defaults to "*.csproj;*.fsproj;*.vbproj;*.xproj;project.json". Valid delimiters for lists, '','','';'', or ''|''. Example, "*.csproj,*.fsproj".'
required: false
default: '*.csproj;*.fsproj;*.vbproj;*.xproj;project.json'
sdkCompliance:
description: 'Whether or not to report projects that are not using the new SDK-style project format.'
required: false
default: 'false'
outputs:
has-remaining-work:
description: 'A boolean value indicating whether more work remains, i.e. upgrade-projects contains values.'
upgrade-projects:
description: 'An array of projects that need to be upgraded.'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- '-o'
- ${{ inputs.owner }}
- '-n'
- ${{ inputs.name }}
- '-b'
- ${{ inputs.branch }}
- '-d'
- ${{ inputs.dir }}
- '-p'
- ${{ inputs.pattern }}
- '-s'
- ${{ inputs.sdkCompliance }}