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: README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@ The `setup-java` action provides the following functionality for GitHub Actions
13
13
- Caching dependencies managed by Gradle
14
14
- Caching dependencies managed by sbt
15
15
-[Maven Toolchains declaration](https://maven.apache.org/guides/mini/guide-using-toolchains.html) for specified JDK versions
16
+
- support for enterpries that are using a system that is proxying a repository located on a remote server.
16
17
17
18
This action allows you to work with Java and Scala projects.
18
19
@@ -60,6 +61,12 @@ This action allows you to work with Java and Scala projects.
60
61
61
62
-`mvn-toolchain-vendor`: Name of Maven Toolchain Vendor if the default name of `${distribution}` is not wanted.
62
63
64
+
-`remote-repository-base-url`: The base url to the solution which houses and manages all the artifacts (ex: artifactory, nexus, etc.). If `remote-repository-base-url` is specified you also need to specify the `replace-download-link-base-url`.
65
+
66
+
-`replace-download-link-base-url`: The base url of the download link, extracted from the metadata file, which must be substituted with the remote-repository-base-url.
67
+
68
+
-`download-link-context`: Because the proxying of the artifacts it is higly dependent on the admin doing it, it might be that a context is needed to be postpended to the remote-repository-base-url.
69
+
63
70
### Basic Configuration
64
71
65
72
#### Eclipse Temurin
@@ -231,6 +238,8 @@ In the example above multiple JDKs are installed for the same job. The result af
231
238
- [Publishing using Gradle](docs/advanced-usage.md#Publishing-using-Gradle)
Copy file name to clipboardExpand all lines: action.yml
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,15 @@ inputs:
68
68
mvn-toolchain-vendor:
69
69
description: 'Name of Maven Toolchain Vendor if the default name of "${distribution}" is not wanted. See examples of supported syntax in Advanced Usage file'
70
70
required: false
71
+
remote-repository-base-url:
72
+
description: 'The base url to the solution which houses and manages all the artifacts (ex: artifactory, nexus, etc.)'
73
+
required: false
74
+
replace-download-link-base-url:
75
+
description: 'The base url of the download link, extracted from the metadata file, which must be substituted with the remote-repository-base-url. Sometimes you might need to specify the download link context to have a proper download link of the distribution.'
76
+
required: false
77
+
download-link-context:
78
+
description: 'Because the proxying of the artifacts it is higly dependent on the admin doing it, it might be that a context is needed to be postpended to the remote-repository-base-url.'
79
+
required: false
71
80
outputs:
72
81
distribution:
73
82
description: 'Distribution of Java that has been installed'
0 commit comments