generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
29 lines (29 loc) · 1016 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
name: 'Package Latest Version'
description: ':octocat: GitHub Action to get the latest available version of a package on its remote registry (PyPi, NPM etc.)'
branding:
icon: package
color: blue
inputs:
package:
description: 'Name of the package to search for.'
required: true
language:
description: 'The target language and thus backend registry.'
required: true
registry:
description: 'Backend registry to search for the package. Format: "http(s)://some.backend.com/with/search/for/%s" where "%s" will be replaced by the actual package name.'
required: false
remoteType:
description: 'Expect this file type from the backend result e.g. "json".'
required: false
default: 'json'
conditions:
description: 'Optional search conditions for a specific registry. See readme for more details.'
required: false
default: ''
outputs:
latestVersion:
description: 'Latest found package version in the registry.'
runs:
using: 'node12'
main: 'dist/index.js'