This repository has been archived by the owner on Dec 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
80 lines (80 loc) · 2.92 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
name: 'Setup AdoptOpenJDK'
description: 'DEPRECATED: Please use actions/setup-java v2 or later to set up OpenJDK from AdoptOpenJDK or Eclipse Temurin.'
author: 'Jochen Schalanda'
inputs:
release_type:
description: 'Type of release. Either a release version, known as
General Availability ("ga") or an Early Access ("ea"). Default: "ga"'
required: false
default: 'ga'
java-version:
description: 'OpenJDK feature release version you wish to download.
Feature versions are whole numbers, example 8, 11, 15'
required: true
java-package:
description: 'The package type (jre, jdk). Default: "jdk"'
required: false
default: 'jdk'
openjdk_impl:
description: 'JVM implementation, example: "hotspot", "openj9". Default: "hotspot"'
required: false
default: 'hotspot'
architecture:
description: 'Architecture of the JDK, example: "x64", "x32", "ppc64", "s390x",
"ppc64le", "aarch64". Default: "x64"'
required: false
default: 'x64'
heap_size:
description: 'Heap size for OpenJ9, example: "normal", "large" (for heaps >=57 GiB).
Default: "normal"'
required: false
default: 'normal'
release:
description: 'Exact release of OpenJDK, example: "latest", "jdk-11.0.4+11.4",
"jdk8u172-b00-201807161800". Default: "latest"'
required: false
default: 'latest'
jdkFile:
description: 'Path to where the compressed JDK is located. The path could
be in your source repository or a local path on the agent.'
required: false
server-id:
description: 'ID of the distributionManagement repository in the pom.xml
file. Default is `github`'
required: false
default: 'github'
server-username:
description: 'Environment variable name for the username for authentication
to the Apache Maven repository. Default is $GITHUB_ACTOR'
required: false
default: 'GITHUB_ACTOR'
server-password:
description: 'Environment variable name for password or token for
authentication to the Apache Maven repository. Default is $GITHUB_TOKEN'
required: false
default: 'GITHUB_TOKEN'
settings-path:
description: 'Path to where the settings.xml file will be written. Default is ~/.m2.'
required: false
gpg-private-key:
description: 'GPG private key to import. Default is empty string.'
required: false
gpg-passphrase:
description: 'Environment variable name for the GPG private key passphrase. Default is
$GPG_PASSPHRASE.'
required: false
overwrite-settings:
description: 'Overwrite the settings.xml file if it exists. Default is "true".'
required: false
outputs:
path:
description: 'Path to where the java environment has been installed (same as $JAVA_HOME)'
version:
description: 'Actual version of the java environment that has been installed'
runs:
using: 'node12'
main: 'dist/setup/index.js'
post: 'dist/cleanup/index.js'
branding:
icon: 'download'
color: 'blue'