-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
33 lines (31 loc) · 962 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
name: 'Package Monster'
description: 'Checks if a NuGet package exists in the nuget.org public repository.'
author: 'Calvin Wilkinson (KinsonDigital)'
branding:
icon: package
color: purple
inputs:
package-name:
description: 'The name of the package. This is not case-sensitive.'
required: true
version:
description: 'The version of the NuGet package to check. This is not case-sensitive.'
required: true
fail-when-not-found:
description: 'If true, will fail the workflow if the NuGet package of the requested version does not exist.'
required: false
default: false
outputs:
nuget-exists:
description: 'True if the NuGet package exists.'
# These are the arguments that are passed into the console app
runs:
using: 'docker'
image: 'Dockerfile'
args:
- '--package-name'
- ${{ inputs.package-name }}
- '--version'
- ${{ inputs.version }}
- '--fail-when-not-found'
- ${{ inputs.fail-when-not-found }}