Changes for docs/dependency-submission.md: 10 added lines, 10 removed lines.
Original line number
Diff line number
Diff line
@@ -22,7 +22,7 @@ If you're confused by the behaviour you're seeing or have specific questions, pl
> **Prefer a 100% Open Source (MIT) path?**
> We also provide a **Basic Caching** provider as a thin wrapper over `actions/cache`. This provider is **free for all repositories** (public and private) and can be enabled at any time by setting `cache-provider: basic`.
>
> For a full breakdown of the components, usage tiers, and our **Safe Harbor** data privacy commitment, see our [Distribution & Licensing Guide](./DISTRIBUTION.md).
> For a full breakdown of the components, usage tiers, and our **Safe Harbor** data privacy commitment, see our [Distribution & Licensing Guide](../DISTRIBUTION.md).
## General usage
@@ -52,7 +52,7 @@ jobs:
java-version:17
-name:Generate and submit dependency graph
uses:gradle/actions/dependency-submission@v5
uses:gradle/actions/dependency-submission@v6
```
### Gradle execution
@@ -88,7 +88,7 @@ Three input parameters are required, one to enable publishing and two more to ac
Changes for docs/setup-gradle.md: 22 added lines, 19 removed lines.
Original line number
Diff line number
Diff line
@@ -9,7 +9,7 @@ This GitHub Action can be used to configure Gradle for optimal execution on any
> **Prefer a 100% Open Source (MIT) path?**
> We also provide a **Basic Caching** provider as a thin wrapper over `actions/cache`. This provider is **free for all repositories** (public and private) and can be enabled at any time by setting `cache-provider: basic`.
>
> For a full breakdown of the components, usage tiers, and our **Safe Harbor** data privacy commitment, see our [Distribution & Licensing Guide](./DISTRIBUTION.md).
> For a full breakdown of the components, usage tiers, and our **Safe Harbor** data privacy commitment, see our [Distribution & Licensing Guide](../DISTRIBUTION.md).
## Why use the `setup-gradle` action?
@@ -55,7 +55,7 @@ jobs:
java-version:17
-name:Setup Gradle
uses:gradle/actions/setup-gradle@v5
uses:gradle/actions/setup-gradle@v6
-name:Execute Gradle build
run:./gradlew build
@@ -68,7 +68,7 @@ Downloaded Gradle versions are stored in the GitHub Actions cache, to avoid havi
```yaml
-name:Setup Gradle 8.10
uses:gradle/actions/setup-gradle@v5
uses:gradle/actions/setup-gradle@v6
with:
gradle-version:'8.10'# Quotes required to prevent YAML converting to number
-name:Build with Gradle 8.10
@@ -106,7 +106,7 @@ jobs:
distribution:temurin
java-version:17
-uses:gradle/actions/setup-gradle@v5
-uses:gradle/actions/setup-gradle@v6
id:setup-gradle
with:
gradle-version:release-candidate
@@ -136,6 +136,9 @@ You choose which provider to use via the `cache-provider` input:
```yaml
# Use the open-source basic cache provider
-uses:gradle/actions/setup-gradle@v6
id:setup-gradle
with:
cache-provider:basic
```
@@ -538,7 +541,7 @@ jobs:
java-version:17
-name:Setup Gradle
uses:gradle/actions/setup-gradle@v5
uses:gradle/actions/setup-gradle@v6
with:
add-job-summary-as-pr-comment:'on-failure'# Valid values are 'never' (default), 'always', and 'on-failure'
@@ -575,7 +578,7 @@ jobs:
java-version:17
-name:Setup Gradle
uses:gradle/actions/setup-gradle@v5
uses:gradle/actions/setup-gradle@v6
-name:Run build with Gradle wrapper
run:./gradlew build --scan
@@ -606,7 +609,7 @@ If you do not want wrapper-validation to occur automatically, you can disable it
```yaml
-name:Setup Gradle
uses:gradle/actions/setup-gradle@v5
uses:gradle/actions/setup-gradle@v6
with:
validate-wrappers:false
```
@@ -618,7 +621,7 @@ These are not allowed by default.
```yaml
-name:Setup Gradle
uses:gradle/actions/setup-gradle@v5
uses:gradle/actions/setup-gradle@v6
with:
validate-wrappers:true
allow-snapshot-wrappers:true
@@ -683,7 +686,7 @@ jobs:
java-version:17
-name:Setup Gradle to generate and submit dependency graphs
uses:gradle/actions/setup-gradle@v5
uses:gradle/actions/setup-gradle@v6
with:
dependency-graph:generate-and-submit
-name:Run the usual CI build (dependency-graph will be generated and submitted post-job)
@@ -710,7 +713,7 @@ graph cannot be generated or submitted. You can enable this behavior with the `d
```yaml
# Ensure that the workflow Job will fail if the dependency graph cannot be submitted
-uses:gradle/actions/setup-gradle@v5
-uses:gradle/actions/setup-gradle@v6
with:
dependency-graph:generate-and-submit
dependency-graph-continue-on-failure:false
@@ -735,7 +738,7 @@ jobs:
java-version:17
-name:Setup Gradle to generate and submit dependency graphs
uses:gradle/actions/setup-gradle@v5
uses:gradle/actions/setup-gradle@v6
with:
dependency-graph:generate-and-submit
-name:Run a build, resolving the 'dependency-graph' plugin from the plugin portal proxy
@@ -765,7 +768,7 @@ jobs:
java-version:17
-name:Setup Gradle to generate and submit dependency graphs
uses:gradle/actions/setup-gradle@v5
uses:gradle/actions/setup-gradle@v6
with:
dependency-graph:generate-and-submit
-name:Build the app, generating a graph of dependencies required
@@ -809,7 +812,7 @@ To publish to https://scans.gradle.com, you must specify in your workflow that y