mirror of
https://github.com/gradle/actions.git
synced 2025-04-23 03:09:20 +08:00
Add access key and token expiry to dependency submission action
This commit is contained in:
parent
c9ffde849f
commit
c3c6e7d786
@ -15,13 +15,13 @@ inputs:
|
|||||||
|
|
||||||
dependency-resolution-task:
|
dependency-resolution-task:
|
||||||
description: |
|
description: |
|
||||||
Task(s) that should be executed in order to resolve all project dependencies.
|
Task(s) that should be executed in order to resolve all project dependencies.
|
||||||
By default, the built-in `:ForceDependencyResolutionPlugin_resolveAllDependencies` task is executed.
|
By default, the built-in `:ForceDependencyResolutionPlugin_resolveAllDependencies` task is executed.
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
additional-arguments:
|
additional-arguments:
|
||||||
description: |
|
description: |
|
||||||
Additional arguments to pass to Gradle when generating the dependency graph.
|
Additional arguments to pass to Gradle when generating the dependency graph.
|
||||||
For example, `--no-configuration-cache --stacktrace`.
|
For example, `--no-configuration-cache --stacktrace`.
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
@ -40,7 +40,7 @@ inputs:
|
|||||||
|
|
||||||
cache-write-only:
|
cache-write-only:
|
||||||
description: |
|
description: |
|
||||||
When 'true', entries will not be restored from the cache but will be saved at the end of the Job.
|
When 'true', entries will not be restored from the cache but will be saved at the end of the Job.
|
||||||
Setting this to 'true' implies cache-read-only will be 'false'.
|
Setting this to 'true' implies cache-read-only will be 'false'.
|
||||||
required: false
|
required: false
|
||||||
default: false
|
default: false
|
||||||
@ -52,7 +52,7 @@ inputs:
|
|||||||
|
|
||||||
cache-encryption-key:
|
cache-encryption-key:
|
||||||
description: |
|
description: |
|
||||||
A base64 encoded AES key used to encrypt the configuration-cache data. The key is exported as 'GRADLE_ENCRYPTION_KEY' for later steps.
|
A base64 encoded AES key used to encrypt the configuration-cache data. The key is exported as 'GRADLE_ENCRYPTION_KEY' for later steps.
|
||||||
A suitable key can be generated with `openssl rand -base64 16`.
|
A suitable key can be generated with `openssl rand -base64 16`.
|
||||||
Configuration-cache data will not be saved/restored without an encryption key being provided.
|
Configuration-cache data will not be saved/restored without an encryption key being provided.
|
||||||
required: false
|
required: false
|
||||||
@ -92,7 +92,7 @@ inputs:
|
|||||||
'generate-and-submit' (default): Generates a dependency graph for the project and submits it in the same Job.
|
'generate-and-submit' (default): Generates a dependency graph for the project and submits it in the same Job.
|
||||||
'generate-and-upload': Generates a dependency graph for the project and saves it as a workflow artifact.
|
'generate-and-upload': Generates a dependency graph for the project and saves it as a workflow artifact.
|
||||||
'download-and-submit': Retrieves a previously saved dependency-graph and submits it to the repository.
|
'download-and-submit': Retrieves a previously saved dependency-graph and submits it to the repository.
|
||||||
|
|
||||||
The `generate-and-upload` and `download-and-submit` options are designed to be used in an untrusted workflow scenario,
|
The `generate-and-upload` and `download-and-submit` options are designed to be used in an untrusted workflow scenario,
|
||||||
where the workflow generating the dependency-graph cannot (or should not) be given the `contents: write` permissions
|
where the workflow generating the dependency-graph cannot (or should not) be given the `contents: write` permissions
|
||||||
required to submit via the Dependency Submission API.
|
required to submit via the Dependency Submission API.
|
||||||
@ -120,11 +120,19 @@ inputs:
|
|||||||
build-scan-terms-of-use-url:
|
build-scan-terms-of-use-url:
|
||||||
description: The URL to the Build Scan® terms of use. This input must be set to 'https://gradle.com/terms-of-service' or 'https://gradle.com/help/legal-terms-of-use'.
|
description: The URL to the Build Scan® terms of use. This input must be set to 'https://gradle.com/terms-of-service' or 'https://gradle.com/help/legal-terms-of-use'.
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
build-scan-terms-of-use-agree:
|
build-scan-terms-of-use-agree:
|
||||||
description: Indicate that you agree to the Build Scan® terms of use. This input value must be "yes".
|
description: Indicate that you agree to the Build Scan® terms of use. This input value must be "yes".
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
|
develocity-access-key:
|
||||||
|
description: Develocity access key. Should be set to a secret containing the Develocity Access key.
|
||||||
|
required: false
|
||||||
|
|
||||||
|
develocity-token-expiry:
|
||||||
|
description: The Develocity short-lived access tokens expiry in hours. Default is 2 hours.
|
||||||
|
required: false
|
||||||
|
|
||||||
# DEPRECATED ACTION INPUTS
|
# DEPRECATED ACTION INPUTS
|
||||||
build-scan-terms-of-service-url:
|
build-scan-terms-of-service-url:
|
||||||
description: The URL to the Build Scan® terms of use. This input must be set to 'https://gradle.com/terms-of-service'.
|
description: The URL to the Build Scan® terms of use. This input must be set to 'https://gradle.com/terms-of-service'.
|
||||||
@ -150,7 +158,7 @@ inputs:
|
|||||||
description: When 'true', the action will not attempt to restore the Gradle User Home entries from other Jobs.
|
description: When 'true', the action will not attempt to restore the Gradle User Home entries from other Jobs.
|
||||||
required: false
|
required: false
|
||||||
default: false
|
default: false
|
||||||
|
|
||||||
# INTERNAL ACTION INPUTS
|
# INTERNAL ACTION INPUTS
|
||||||
# These inputs should not be configured directly, and are only used to pass environmental information to the action
|
# These inputs should not be configured directly, and are only used to pass environmental information to the action
|
||||||
workflow-job-context:
|
workflow-job-context:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user