mirror of
https://github.com/gradle/actions.git
synced 2026-01-13 17:26:03 +08:00
Document that setup-gradle performs wrapper validation
This commit is contained in:
@@ -79,6 +79,9 @@ The `wrapper-validation` action validates the checksums of _all_ [Gradle Wrapper
|
|||||||
|
|
||||||
The action should be run in the root of the repository, as it will recursively search for any files named `gradle-wrapper.jar`.
|
The action should be run in the root of the repository, as it will recursively search for any files named `gradle-wrapper.jar`.
|
||||||
|
|
||||||
|
Starting with v4 the `setup-gradle` action will [perform wrapper validation](docs/setup-gradle.md#gradle-wrapper-validation) on each execution.
|
||||||
|
If you are using `setup-gradle` in your workflows, it is unlikely that you will need to use the `wrapper-validation` action.
|
||||||
|
|
||||||
### Example workflow
|
### Example workflow
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ This action validates the checksums of _all_ [Gradle Wrapper](https://docs.gradl
|
|||||||
|
|
||||||
The action should be run in the root of the repository, as it will recursively search for any files named `gradle-wrapper.jar`.
|
The action should be run in the root of the repository, as it will recursively search for any files named `gradle-wrapper.jar`.
|
||||||
|
|
||||||
The `setup-gradle` action will perform wrapper validation on each execution. If you are using `setup-gradle` in your
|
Starting with v4 the `setup-gradle` action will [perform wrapper validation](../docs/setup-gradle.md#gradle-wrapper-validation) on each execution.
|
||||||
workflows, it is unlikely that you will need to use this action.
|
If you are using `setup-gradle` in your workflows, it is unlikely that you will need to use the `wrapper-validation` action.
|
||||||
|
|
||||||
## The Gradle Wrapper Problem in Open Source
|
## The Gradle Wrapper Problem in Open Source
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,9 @@ The `wrapper-validation` action validates the checksums of _all_ [Gradle Wrapper
|
|||||||
|
|
||||||
The action should be run in the root of the repository, as it will recursively search for any files named `gradle-wrapper.jar`.
|
The action should be run in the root of the repository, as it will recursively search for any files named `gradle-wrapper.jar`.
|
||||||
|
|
||||||
|
Starting with v4 the `setup-gradle` action will [perform wrapper validation](../docs/setup-gradle.md#gradle-wrapper-validation) on each execution.
|
||||||
|
If you are using `setup-gradle` in your workflows, it is unlikely that you will need to use the `wrapper-validation` action.
|
||||||
|
|
||||||
### Example workflow
|
### Example workflow
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user