You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: action.yml
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -43,9 +43,21 @@ inputs:
43
43
description: 'Path to where the settings.xml file will be written. Default is ~/.m2.'
44
44
required: false
45
45
overwrite-settings:
46
-
description: 'Overwrite the settings.xml file if it exists. Default is "true".'
46
+
description: 'Overwrite the settings.xml file if it exists. Default is "!update-toolchains-only". If explcitly set "true", it will update settings.xml regardless of "update-toolchains-only"'
47
47
required: false
48
-
default: true
48
+
# DO NOT set a default here! The default will be propagated from input 'update-toolchains-only'!
49
+
update-toolchains-only:
50
+
description: 'Update toolchains.xml only. Default is "false". No update of settings.xml, no update of JAVA_HOME, no adding to PATH by default - unless "overwrite-settings", "update-env-javahome" or "add-to-env-path" are not explicitly set "true"'
51
+
required: false
52
+
default: false
53
+
update-env-javahome:
54
+
description: 'Update the JAVA_HOME environment variable. Default is "!update-toolchains-only"'
55
+
required: false
56
+
# DO NOT set a default here! The default will be propagated from input 'update-toolchains-only'!
57
+
add-to-env-path:
58
+
description: 'Add "<JDK home>/bin" to the PATH environment variable. Default is "!update-toolchains-only"'
59
+
required: false
60
+
# DO NOT set a default here! The default will be propagated from input 'update-toolchains-only'!
49
61
gpg-private-key:
50
62
description: 'GPG private key to import. Default is empty string.'
0 commit comments