This repository has been archived by the owner on May 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathaction.yml
40 lines (40 loc) · 1.51 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
name: 'Install JDK'
description: 'Set up a specific version of the Java JDK for use during an workflow.'
inputs:
version:
description: 'The JDK version to setup.'
required: true
architecture:
description: 'The architecture (x86, x64) of the JDK. (This not relevant when an explicit source is specified.)'
required: false
default: 'x64'
source:
description: 'A custom JDK source. May either an url, a local archive or folder, or a build type ("nightly", or "releases").'
required: false
default: 'releases'
sourceType:
description: 'The type of the source parameter. Must be one of [buildType, url, file] or empty for automatic detection. '
required: false
archiveBasePath:
description: 'A slash-separated path pointing to the JDK relative from a single top-level folder within the archive.'
required: false
useArchiveBasePath:
description: 'A boolean value ("true" or "false") on whether the archiveBasePath parameter should be used.'
required: false
archiveExtension:
description: 'The extension of the JDK archive. Must be one of: [.zip, .tar, .7z] (Required when source is an URL.)'
required: false
targets:
description: 'A semicolon-separated list of environment variables that should point to the JDK. (Defaults to "JAVA_HOME".)'
required: false
default: 'JAVA_HOME'
impl:
description: 'JVM implementation'
required: false
default: 'hotspot'
runs:
using: 'node16'
main: 'dist/index.js'
branding:
color: white
icon: download