mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 09:56:46 +00:00
Pass the token input through on GHES for Microsoft Build of OpenJDK (#395)
This commit is contained in:
parent
de1bb2b0c5
commit
bf2f02c4a7
4 changed files with 22 additions and 4 deletions
|
@ -59,8 +59,8 @@ inputs:
|
|||
description: 'Workaround to pass job status to post job step. This variable is not intended for manual setting'
|
||||
default: ${{ job.status }}
|
||||
token:
|
||||
description: Used to pull java versions from setup-java. Since there is a default value, token is typically not supplied by the user.
|
||||
default: ${{ github.token }}
|
||||
description: The token used to authenticate when fetching version manifests hosted on github.com, such as for the Microsoft Build of OpenJDK. When running this action on github.com, the default value is sufficient. When running on GHES, you can pass a personal access token for github.com if you are experiencing rate limiting.
|
||||
default: ${{ github.server_url == 'https://github.com' && github.token || '' }}
|
||||
mvn-toolchain-id:
|
||||
description: 'Name of Maven Toolchain ID if the default name of "${distribution}_${java-version}" is not wanted. See examples of supported syntax in Advanced Usage file'
|
||||
required: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue