-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
53 lines (52 loc) · 1.64 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
49
50
51
52
53
name: 'Get Latest Language Versions'
description: 'Get latest language versions'
branding:
icon: "tag"
color: "gray-dark"
inputs:
language:
description: 'The language you want to get the versions for (go, nodejs, php, python or ruby)'
required: true
min-version:
description: 'The minimum major.minor version to include or "EOL". or "ALL"'
required: false
default: 'eol'
max-version:
description: 'The maximum major.minor version to include or "latest".'
required: false
default: 'latest'
max-versions:
description: 'The maximum number of versions to include.'
required: false
default: 0
include-prereleases:
description: 'Whether to include new version of Python that have no official releases.'
required: false
default: 'false'
highest-only:
description: 'Whether to get the highest version only or all versions as a matrix.'
required: false
default: 'false'
remove-patch-version:
description: 'Whether to remove the patch version from the version string or not.'
required: false
default: 'false'
use-head:
description: 'Use the head of main/master instead of the latest released version'
required: false
default: 'false'
outputs:
latest-versions:
description: 'Version or List of versions that can be loaded as a matrix with fromJson'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.language }}
- ${{ inputs.min-version }}
- ${{ inputs.max-version }}
- ${{ inputs.include-prereleases }}
- ${{ inputs.highest-only }}
- ${{ inputs.remove-patch-version }}
- ${{ inputs.use-head }}
- ${{ inputs.max-versions }}