49 строки
1.5 KiB
YAML
49 строки
1.5 KiB
YAML
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 }}
|